Smashing Magazine - we smash you with the information that will make your life easier. really.
Charts And Graphs: Modern Solutions
Charts are supposed to visualize data in order to give a more profound understanding of the nature of a given problem or recent developments. Whatever type of data presentation you prefer (pie charts, bubble charts, bar graphs, network diagrams etc.), you can create charts in graphic editors manually or use special desktop-software instead. In both cases you have a major problem: once you’d like to update an old chart, or create a new one, you have to run the application and create new images over and over again. That’s not flexible. That’s also not usable — e.g. if you’d like to update your chart live.
Server-based solutions, implemented with Flash, JavaScript or pure CSS, offer a more flexible alternative. In fact, since Flash offers significant advantages over static data presentation with CSS and JavaScript, most solutions use it for dynamic data visualization. The data itself is often stored in XML-files which are loaded and updated via PHP or ASP. The price range varies enormously — depending on the flexibility and level of customization you’d like to have. However, if you don’t want to pay, you don’t have to — there are powerful free solutions as well.
If you use Ajax- or JavaScript-frameworks you might already have powerful chart components integrated into the library by default. If it’s not the case, you might try to search for existing add-ons. E.g. there are extensions for jQuery and Dojo you can use to generate and style your own charts with few lines of JavaScript and CSS.

The Dojo Charting Engine can generate graphs and charts with few JavaScript snippets.
Many server-based solutions are quite versatile, so you can use them to create a variety of charts and graphs in minutes. However, to use these tools you need to know where to find them.
This article presents an overview of tools, applications and techniques for visualizing data in charts and graphs. Among other things both free and commercial chart tools, services, desktop-applications and web-based solutions (Flash, JavaScript, CSS) — you can use them on your server — are presented.
Please notice that the solutions listed below don’t necessarily produce charts which serve the main purpose of data visualization — namely, to provide an easy-to-use visual presentation of (possibly) complex data sets. It’s far more important that the presented information is usable and comprehensible rather than presented in a visually appealing way. Outstanding data visualizations aren’t achieved by the beauty of data presentation, but by an effective interpretation of the data it represents.
Charts and Graphs: Flash-based Solutions
FusionCharts Free
FusionCharts Free is a Flash charting component that can be used to render data-driven & animated charts for web applications and presentations. It is a cross-browser and cross-platform solution that can be used with ASP.NET, ASP, PHP, JSP, ColdFusion, Ruby on Rails, simple HTML pages or PowerPoint Presentations to deliver interactive and powerful flash charts.
You can generate 2D/3D Column Charts, Line Charts, 2D/3D Pie & Doughnut Charts, Area Charts, Stacked Charts, Combination Charts and Candlestick Charts. The data is stored in XML. The full version of the application has more animated charts, visual effects (shadow, glow etc.) as well as a Visual XML Generator Utility. You don’t need to know anything about Flash to use FusionCharts. All you need to know is the language you’re programming in. Free version provides a high level of flexibility and dozens of impressive designs.
amCharts
amCharts offers a flexible and easily customizable solution for generating charts “on the fly”. There are 4 sets with predefined Pie & Donut, Line & Area, Column & Bar and Scatter & Bubble. Generated Flash-files are dynamic and can be presented in 2D or 3D. The loader can load data from XML or CSV, so you can easily export data from Excel, dynamically generate data file with PHP, ASP, .NET or other programming language. Some flash-charts also have animation effects.
amCharts is linkware which means that you have to place a link to the source if you’d like to use it for free. You can also purchase a single site license for 85 Euros (~$117). We’ve already reviewed amCharts previously.
AnyChart Flash Chart Component
AnyChart is a more powerful alternative to Open Flash Chart. It is fully cross-browser and cross-platform and can generate Pie, Bar, Line, Candlestick, Area, Column, Bubble, Spline, Dot/Marker, Scatter, Candlestick and Doughnut charts. It can be used with virtually all scripting languages — ASP.NET, ASP, PHP, JSP, ColdFusion, Ruby on Rails, simple HTML pages and also PowerPoint presentations.
AnyCharts is driven by XML as universal data interface, so you can visualize data from any data format: from files in text, Excel, CSV formats to MySQL, MS SQL, and Oracle database servers. Users can save the generated charts as an image for email sending or chart export. AnyChart is huge, but not that inexpensive – a one developer licence starts at $649.00.
Rich Chart Server for .NET
Rich Chart Server generates captivating interactive Flash charts from ASP.NET and Windows Forms applications. Rich Chart Server uses flexible templates to integrate dynamic content from a variety of data sources. Price $295.
Flash Charts Pro
Flash Carts Pro — ASP Chart and PHP Flash Charting tool — comes with 9 main categories and more than 30 chart types. No installation is required. Upload the Flash file and generate a list of ingoing values – or use a script. Customization is possible via the XML file itself. The tool offers multi-lingual (UTF-8) characters support, customizable animation, grid component and dynamically resizable charts. The price range starts at $59. Unfortunately there is no trial-version.
Swiff Chart Generator
Swiff Chart Generator is the server-side solution to dynamically serve eye-catching animated charts from Active Server Pages (ASP), PHP scripts or JSP scripts. Query data from a database, apply your own style template created with the Swiff Chart authoring tool and Swiff Chart Generator instantly generates high-impact charts in Flash format, PNG/JPG format, SVG format and PDF format. Use Swiff Point Player to incorporate your Flash Charts into your PowerPoint presentations. Pricing starts at $149.
XML/SWF Charts
PHP/SWF Charts offers a simple and dynamic solution for interactive Flash-based charts. Columns, circles, bars and pies can be displayed in 3D. You create an XML source to describe a chart, then pass it to this tool’s flash file to generate the chart. The XML source can be prepared manually, or generated dynamically using any scripting language (PHP, ASP, CFML, Perl, etc.).
The script requires only PHP 4 support; it is free, however all charts are by default linked to the source — unless you’ve purchased a license.
Open Flash Chart (OFC)
OFC is an open-source project. The Flash chart offers 35 chart variations; among them a number of bar charts, pie charts and line charts. Provided tutorials explain how the script can be extended with further functionality such as mouse-over effects and how the database can be queried for some values and the results then displayed in a graph. Open Flash Chart uses Flash and PHP; data can be stored in plain text (.txt). The package, available via Sourceforge, includes a number of examples and samples.
Charts and Graphs: PHP/ASP Libraries
Libchart
Libchart is is a simple PHP-library. You can create Line-, Bar- (horizontal and vertical) and Piecharts. The tool requires PHP compiled with GD Graphics Library and FreeType. Libchart is a free software distributed under the terms of the GNU General Public License (GPL).
Image_Graph
Image_Graph (formerly known as GraPHPite) utilizes PHP’s object oriented model to enable users/developers to create highly versatile graphs in a simple way. There are 14 highly customizable chart types including line, bar, area, pie, impulse, dot/scatter, step, candlestick, box & whisker, radar, etc.
The free script requires PHP4 or PHP5 support with GD 2 support for optimal performance and PEAR package, including Image_Color and Image_Canvas package. The site offers over 80 samples of how the tool can be used.
JpGraph
JpGraph is a Object-Oriented Graph creating library for PHP. The library is completely written in PHP and can be used in any PHP scripts. The library can be used to create numerous types of graphs either on-line or written to a file. Line plots, filled line plots, step line plots, bar and pie charts, ring and scatter plots, polar and canvas plots as well as Gantt Charts. The designs of charts aren’t that impressive, but they don’t have to.
.netCHARTING
.netCHARTING utilizes the .NET framework and GDI+ providing a managed charting solution for C# and VB.NET developers working with ASP.NET or WinForms. The tool offers a huge choice of available charts. In most cases 2D and 3D-views are available. Price range starts at $395 for a single site license.
Charts and Graphs: JavaScript-based solutions
Emprise JavaScript Charts
Emprise JavaScript Charts is done in pure JavaScript — no Flash support is required. The script includes features such as hints, mouse tracking, mouse events, key tracking and events, zooming, scrolling, and crosshairs which might raise interactivity and user experience. EJSChart supports XML-formatted data.
Every aspect of the charting display can be configured and customized through well-documented properties and methods. An interesting solution, offering a number of designs and behaviours. Pricing starts at $100.00. There is a watermarked private version available for free.
PlotKit – Javascript Chart Plotting
PlotKit is an experimental JavaScript-based chart and graph plotting library. It has support for HTML Canvas and SVG via Adobe SVG Viewer as well as native browser support. The script requires MochiKit JavaScript library, version 1.3 or higher. Released under the BSD License.
Plotr
This lightweight charting framework based on PlotKit draws simple charts. It’s free, and there is no use of Flash. There are also no interactive elements, however you don’t always need them.
CSS-based Solutions
An overview of techniques and ideas to create simple charts with CSS and (X)HTML. These solutions provide easy methods to generate static charts and style them; however, they can’t compete with the interactivity Flash offers.
- Ajax MGraph
A user interactive XHTML/CSS graph which is powered by PHP – with an easy database integration. - CSS Vertical Bar Graphs
Eric Meyer’s method to design charts with CSS.
- CSS Diagrams
A classic. A technique to display CSS-based diagrams with absolute and relative positioning. - CSS for Bar Graphs
Another CSS-technique by ApplesToOranges. - Dynamic Pie Chart with CSS
- Real World Bar Graphics with some CSS
- SAC Simple Accessible Charts
- CSS Line Graphs
- Vertical Bar Graphs with CSS and PHP

- An accessible bar chart
- Stu Nicholls definition list bar chart
- Chart Demo (uses Javascript as well)
Related Articles
- Displaying percentages
- CSS Bar Graphs and Charts
- Creating a graph using percentage background images
- Super simple CSS bars
Online Services and Generators
To create charts you don’t need installation or software. Of course, you can get things done online — with charts and graphs generators. The fact that charts aren’t that simple to deal with is realized once you have to input all the data manually. Be prepared: to get the final results you might need dozens of clicks and web forms to input your data.
- Rich Chart Live
Rich Chart live offers a number of templates and styles. The image below shows the “watercolor pie”-style. Output: Flash-, PowerPoint or image you can insert in your weblog instantly. - FusionCharts Google Gadget
The online-version of Fusioncharts. - Create a Graph
Supposed to be used by kids, this tool offers a variety of different charts which can be generated once the data is provided. Flash is required.
Free Software and Commercial Solutions
You can find an overview of popular charts-related applications in our article Diagrams: Tools and Tutorials. Among other things we’ve covered DIA, JFreeChart, Omnigraffle and Microsoft Visio.
Vitaly Friedman, editor-in-chief of Smashing Magazine (www.smashingmagazine.com), an online magazine dedicated to designers and developers.
- 122 Comments
- 1
- 2October 18th, 2007 11:11 pm
Great resource of different useful styles of displaying information! Thanks again for the great read.
- 3October 18th, 2007 11:25 pm
Is that a complement of a previous article ?
Last time I discovered AMMAP and it was perfect for my applications. - 4October 19th, 2007 12:10 am
Interesting would be to measure the effects of the different styles of charts and graphs.
- 5October 19th, 2007 12:37 am
Great list. I’m going to have to try out some of the options I haven’t seen before.
Also, here’s another one that I use quite frequently in print work, that has a php library for online:
http://sparkline.org/Joe.
- 6October 19th, 2007 1:09 am
At the end of the month, we will be releasing a free, open source, version of Chronoscope, a pure-clientside Javascript charting component written using Google Web Toolkit that is specifically designed to support very large datasets (tens of thousands to millions of points).
See a demo here: http://timepedia.org/
- 7October 19th, 2007 1:33 am
I usually go simply with Libchart and it always worked well. However, I see that flash charts are getting more and more popular, thus maybe I should indeed consider using something more advanced. Thanks for the links!
- 8October 19th, 2007 2:35 am
Great, really useful as always.
I’m a user of FusionCharts Free, just for keeping ontop of sales charts.
- 9October 19th, 2007 3:09 am
Excellent selection. Awesome job as always, you guys are my new heroes.
- 10October 19th, 2007 3:09 am
Very nice article, it’s always hard to find a good chart/graph solution for implementation website, thanks for the references.
- 11October 19th, 2007 4:02 am
great collection
- 12October 19th, 2007 4:26 am
Fantastic stuff – now these WILL come in handy. Once again, you did it :)
- 13October 19th, 2007 4:58 am
Thanks for the analyze and the agglomeration work ! I was looking it.
- 14October 19th, 2007 5:37 am
As more people develop their coding skills and produce online content they will be using these reporting tools more and more often. Smahing list! Thanks!
- 15October 19th, 2007 5:46 am
I’ve used fusioncharts before and it’s pretty damn sleek… wish they had an option for outputting as a straight image file though
- 16October 19th, 2007 5:50 am
I am really troubled to see more an more articles like this. Most of these tools create pretty flashy charts, that’s for sure, but they don’t teach anyone how to visualize data properly. Why would you ever need a donut chart or a 3D stacked cilinder chart? What does that add to the data that a simple 2D bar chart can’t show you? There is so much of what Edward Tufte refers to as “non-data ink” on these charts that it just smothers the “data ink” completely.
We need to teach analysts the techniques to use simple and straight-forward charts to let the data shine through. All these different primary colors and 3D stuff have nothing to do with the data. Check out the work of Edward Tufte and Stephen Few for some good visualization principles…
- 17October 19th, 2007 7:11 am
Thanks for the great article, didn’t know there were so many different types of charting out there! I will have to check some of them out.
Last time I used the FusionCharts Free version you couldn’t create links within the chart, all clicks on the chart went to the FusionCharts website. I bought a license so I could let the client drill down into the data, made it much more interactive.
@Rian – unfortunately charts are often created for management who like them to look “pretty”. I often wonder how many of the reports we are made to generate ever actual have the data on them read. It’s all about the look of it.
- 18October 19th, 2007 9:53 am
it’s just amazing!
great collection! - 19October 19th, 2007 10:32 am
Awesome, awesome, awesome.
(awesome)
- 20October 19th, 2007 11:02 am
No mention of ploticus? Been using it for years at work and it drives hundreds of internal dashboards for us. Great program and very active author.
http://ploticus.sourceforge.net/doc/welcome.html
Maybe not as “pretty” as these but way easy to use and tons of options and chart types.
- 21October 19th, 2007 1:23 pm
One that wasn’t mentioned is an open source Ajax widget being developed at MIT that I use called Timeplot/Timeline
http://simile.mit.edu/timeplot works very well but currently lacks IE support
- 22October 19th, 2007 1:52 pm
As Always you’ve smashed us with useful information once again
- 23October 19th, 2007 2:07 pm
Dundas Charts is handy to use for all of you dot net people. It’s a bit exy, but the support is excellent, and the graphing output is 1st rate. Multiple output formats (Flash, PNG, etc) make it suitable for lots of purposes, although I tend to only use the PNG output. You can also link parts of your charts so you can easily provide drilldowns into data.
Cheers! Good article.
- 24October 19th, 2007 4:58 pm
Great resource, YAHOO flash library (ATLAS) also provides a chart engine.
- 25October 19th, 2007 8:01 pm
Fantastic roundup, as always guys – well done!
Just a note – PHP/SWF and XML/SWF charts are two separate products, differentiated by the data input method.
- 26October 19th, 2007 8:06 pm
Worth pointing out that ColdFusion has charting functions built in.
- 27October 19th, 2007 8:56 pm
Great collection.. nice!!
- 28October 20th, 2007 5:21 am
Plot-O-Matic is a scientific graphing web application that would fit well under your ‘online services and generators’ section. If does things that scientists need like curve fitting and error bars, but you don’t need to use them and it allows you to link to your graphs from any web-page.
- 29October 20th, 2007 6:51 am
ComponentArt has a top-notch charting engine.
- 30October 20th, 2007 10:53 am
Dear Smashing Magazine, please stop writing articles.
I would like to get some work done.
Thanks,
John
- 31October 20th, 2007 5:25 pm
i prefer amcharts
- 32October 20th, 2007 11:16 pm
I use Open Flash Chart over at Compare Sat Nav and it works very well. It was easy to set up and looks great.
An example chart can be found here
- 33October 21st, 2007 10:48 pm
PHP/SWF Charts really looks awesome! Thanks
- 34October 22nd, 2007 6:41 pm
Great article! I’ve just thinked how to represent statics information on my cms, and here i found the solution!
- 35October 22nd, 2007 10:12 pm
I did a pretty broad search for plotting tools about 6 months ago, and came across pretty much all of the ones mentioned in the article (although not all the ones mentioned in comments – I’ll take a look at those). The only tool I found that could alternate between log and linear plots for both axes (a specific need, but it might be common within scientific fields) was not mentioned in this list – Adobe’s Flex Charting, a Flex Builder plug-in.
- 36October 25th, 2007 3:10 am
great, very good that you collected lots of variations to display – thanks
- 37October 31st, 2007 6:22 am
I’ve been using Illustrator to design charts for nearly 10 years…it’s amazing what you can do with Photoshop too. Good to see it here. My tip? Always save the working files :o)
- 38October 31st, 2007 6:47 am
Great post, thanks for the gathering!
- 39November 2nd, 2007 8:18 pm
It seems that Rian (comment 16) was the only reader not blinded by the special effects, the shiny reflective surfaces, the shadows and false depth effects, and the overwhelming explosions of color. At best these special effects can only detract from the data, and at worst they can completely overwhelm and befuddle the poor sap who is charged with interpreting the chart.
It seems these fancy programs emphasize the ability to create amazing technicolor displays, and not the keep-it-simple credo of effective visualization.
- 40November 7th, 2007 12:44 am
I see some of the most interesting new appraches to dynamic, scalable, charts for the web is the Canvas HTML Element.
John Resig (creator of jQuery) has some cool videos of interactive charts in action using the Canvas HTML Element.
I think we’ll see the JavaScript libraries adding in support for these types of features via plugins in the near feature.
vector scalable, cross-browser, dynamic charts, without flash… Awesome!
- 41June 16th, 2008 3:40 am
hey guys, take a look on this it is an amazing charting controller http://visifire.com powered with silverlight
- 42June 16th, 2008 3:46 am
Hey guys Chk this out an amazing chart controller “visifire” powered by silverlight
- 43October 6th, 2008 8:56 am
Thanks for a very informative post. However, you neglected to include pChart, an Open Source php class to build charts.
- 44October 17th, 2008 11:53 am
I’m looking for a flash chart solution which can update bar charts in real time so that they are moving onscreen as data changes. Does anyone know of such a solution?
Many Thanks
- 45
- 46
- 47
- 48December 3rd, 2008 6:16 am
thanks for sharing..
- 49January 29th, 2009 7:16 am
Great post! I’ve tried all the solutions described here and none of them fits me for one reason or another. Does anyone knows of a free or commercial soution for representing a line with the following features?
Application
Our application will mainly make use of the line chart.
It will display temperature values against a time scale (for the future we would like flexibility in the x-axis data format).
Multiple graphs will be displayed in one canvas (maximum of 50).
Maximum data displayed in each graph of 106.000 points.
Data will be read from an XML file.
It will be displayed in a JavaServer Faces environment and we use rich facelets components.Needs
Automatic resizing of the canvas and graphs when the browser window changes size.
A primitive firing an event or notification when the zoom is performed, for displaying a sensitive amount of data and not overloading the web application.
A primitive to redraw the data set periodically, for quasi real-time information display since new temperatures will appear every 3 to 5 minutes.
Possibility of having some sort of marks at specific points in time (in order to showcase alarms or information alike).
The x-axis has to be fully customizable (tickers at fixed positions specified by our application instead of automatic calculation).
Compatibility with IE Explorer 6, Firefox 3, (if possible Opera 9.6 and Google Chrome).
Zooming (if possible squared).
Precision of +- 0,01 ºC
Label showing each graphs temperature value.
Discontinuous data handling.
Legend not shown in the displaying area, to avoid visibility problems.Optional needs.
Printability of the graph in a pdf file or similar.
Day-night background shading.
Activation and deactivation of graphs from the legend or directly.
Mouse-lock for each graph.Most of these are covered either by one solution or another, but not for all of them. Does anyone knows about a possible solution?
- 50February 4th, 2009 8:47 am
carl j is a dush bag
- 51February 5th, 2009 11:32 pm
i want to display a data label in the pie chart even that value is zero….what r the changes i have to do in the settings file could u plz help me to solve this problem
- 52February 27th, 2009 6:13 am
We’ve just finished our pure CSS chart generator – including color pickers, background images, gradients etc. Just enter your values, choose your colors and get your chart. You can call it via a PHP script for inclusion into your page. Check it out at http://www.artviper.net/css-chart-generator
Any comments, improvements etc are welcome!
- 53April 24th, 2009 7:37 am
Thank you~
- 54June 23rd, 2009 11:11 pm
This is a chart explorer made using Open Flash Chart.
http://blog.webasp.com.au/2009/06/open-flash-chart-2-kvasir-explorer/ - 55June 23rd, 2009 11:58 pm
Nice all this Chart but what is about Infragistics? Is it not good?
Thanks
- 00
There are no trackbacks at this time. If you are interested in leaving a trackback, please use this URL.
Leave a Comment
Make sure you enter the * required information where indicated. Please also rate the article as it will help us decide future content and posts. Comments are moderated – and rel="nofollow" is in use. Please no link dropping, no keywords or domains as names; do not spam, and do not advertise!
Interact
Popular
- 100 Wordpress Themes
- Photoshop Tutorials
- Fantastic Wallpapers
- 40+ Excellent Freefonts
- Dual-Screen Wallpapers
- Wordpress Themes for 2009
- Illustrator Tutorials
- Incredible Free Icon Sets
- High-Quality Free Fonts
- 30 Scripts For Galleries
- Photoshop Text Effects
- Useful Icon Sets
- Web Design Trends
- iPhone Wallpapers
- Before Launching a Website
- CSS Layouts And Templates
- Photoshop Actions
- Stunning Pictures and Photos
- Fantastic HDR Pictures
- Logo Design Tutorials
- Free Design Templates
- 10 Mistakes In Logo Design
- Photoshop Custom Shapes
- 40 Creative Design Layouts
- 8 Layout Solutions
- 53 CSS Techniques
- Photography Techniques
- Black & White Photography
- Styling Design Elements
- CSS-Based Forms
- 50 jQuery Techniques
- 50 Portfolio Websites
- 50 CSS Techniques
- Creative Logo Designs
- Desktop Wallpapers
- 25 Open Source Mac Apps
- 50 Free Icon Sets
- The Big Showcase Of Online T-Shirt Stores - http://bit.ly/5Tq8uA
- @ilmv oh ok then ;)
- @ilmv no, the SM Book will not be out of date :) We made sure it contains universal design, usability and marketing principles.
- Apple ad bombing Windows 7 on Google - http://bit.ly/28ctPq
- Atatonic - a fresh CSS framework - http://bit.ly/4oOV2w (via @umutm)
- @HrvojeKC yes, that's an interesting idea. Maybe when the waiting is over, we'll write a detailed post about it.










































Impressive and useful as always, thanks!