I was inspired to start playing around with CSS graphs after seeing Eric Meyer's CSS Bar Graph. After essentially recreating his bar graph, I started wondering how far I could take the technique.
JSLineGraph is a powerful PHP class that generates an HTML Table from a given data-set,
and then applies CSS styling to turn the table into a line-graph of that data. Since the data-set begins
in tabular format, the view mode can be toggled between graph and table simply by changing the class-name of the element.
I'm not yet sure why the view toggle does not function properly in Internet Explorer. IE happily toggles from table to graph, but if the render starts as a graph, then IE can't manage to switch back to the table.
Due to a known DHTML bug in the Safari rendering engine, the view toggle does not work in the Safari browser.