In my last project, one of the requirement is to visualize data into a visual diagram. In the past, the available technology is generate it in the server using PHP-GD library, then return the generated images to user. The drawback of this method is that the image usually have large size, and it’s hard to produce beauty diagram.
Nowdays, there are many javascript library that can generate the visual diagram on the fly in the browser. Server side code just need to serve the data that usually more small than serving generated image. To help you finding suitable javascript libraries, SixRevisions just posted an excellent article complete with the example from each library. Check it out now, so you can start using one of it right away in your project / website.

