1 Statistical View of Data in a Clustered Bar Chart
2 Database
3 Getting Down and Dirty
4 Drawing Charts
5 Conclusion
| Statistical View of Data in a Clustered Bar Chart
(Page 1 of 5 )
In this article, Naeem shows us how to go about creating a statistical view of data, in the form of a clustered bar chart, using PHP and MySQL. He provides a real-life scenario, along with accompanying code, to demonstrate how the job can be accomplished.Statistical view of data in the shape of a clustered bar chart is somewhat similar to having to select between two attributes of a single entity. However, a real-life case scenario is far more complicated. As in most cases, the situation has a lot of entities strongly related with each other through E-R diagrams obeying the normalization rules. Moreover, in such cases, data is not only two-dimensional but, rather, it may be multi-dimensional. Let_s look at the following E-R diagram from which we have to present a statistical view (in the form of a clustered bar chart). How can we do this? This article is an attempt to explain the solution. Prerequisites You should have Apache web server with PHP and MySQL running. A fair amount of knowledge in PHP is also required. I have provided a zip archive of a demo along with this article.
|