You will have to use a javascript charting library such as flot or jqplot. Another easy way is to use google visualization.
- https://github.com/aaronjorbin/flot-examples/blob/master/index.php
- http://www.jqplot.com/tests/
- https://developers.google.com/chart/interactive/docs/reference
There are many more libraries than this – do your research and choose the one that fits your needs.
2
solved I wanted to draw pie chart and bar chart into my php website [closed]