Currently I have a table as my database, and I want to create a Bar Chart to of out the Reasons Column. This is an example of my table:
Table Name: Survey
id | reasons |
---|---|
1 | a,b,c |
2 | a,d,e |
3 | b,c,d |
How to count total amount of each reasons like this table below?
reasons | total |
---|---|
a | 2 |
b | 2 |
c | 2 |
d | 1 |
e | 1 |