Many a web application can be enhanced with a decent graph to show data. Unfortunately out of the programming languages / frameworks that we have available to us, none seem to be very forthcoming with decent graph components, and it is left up to third party solutions to provide the necessary. From my hunts around the web the following showcases some of the better options. I’ve tried to keep these limited to the open source / free options.
Libchart is a simple PHP charting component, and it is totally free free free! The project is an ongoing one – with the last release in April 2008. If you are a PHP coder, you’ll love its simplicity.
- Bar charts (horizontal or vertical).
- Line charts.
- Pie charts.
- Single or multiple data sets.
- Compatibility with PHP 5.
Fusioncharts offer some of the best animated flash charting components on the web, and luckily for us they also offer free components. Not only are they used commercial with clients such as Oracle, Microsoft and Dell amongst others, so you’d be in good company. FusionCharts Free can be distributed for free with your free or commercial softwares, irrespective of whether they’re open source or closed source. Hurray!
Google’s chart drawing API is pretty useful. More so when a little website generates and previews a chart automatically for you. Mighty useful.
The Simile project at MIT stands for Semantic Interoperability of Metadata and Information in unLike Environments, with alot of their work focused on visualising digital assets. Luckily for us, they have open sourced some useful widgets on Google code. The timeline is of particular interest, as it allows you to plot events as well as data, which can give some pretty cool results.
Simple Accessible Charts
Inspired by some of the work done by ThinkVitamin – Out of all of the graphing solutions presented here, this is by far the simplest. HTML and CSS charts. Great if you are short on time, and need an easy bar chart.
Created by the talented Antanas Marcelionis Amcharts offer both a commercial charting solution and also offer a free linked version of their flash charting components. The project backups great components with even better documentation, with data (as you would expect) being pulled in via an XML file. They aso offer easy to use server side ASP.NET controls – which make the implementation even simpler for those of us who use the framework.
- Column and Bar chart
- Line and Area chart
- Pie & Donut
- Scatter and Bubble chart
- Radar and Polar
If you develop on the java platform JFreechart is a 100% Java library that is used extensively in existing projects. Established eight years ago, the project has gone from strength to strength, and is now used by 40,000+ Java developers.
The library includes support for multiple chart types including gauges – common in many dashboard applications.
Charting Component Dojo Framework
Open Flash Chart
Written in C# on the .NET framework, ZedGraph is a class library, user control, and web control for .net, for drawing 2D Line, Bar, and Pie Charts. You can easily implement the library in VB however with a binary download offered from SourceForge. Codeproject also offer a good example C# program for utilising the control.
Open source gauge component
XML/SWF gauge is a simple, yet powerful tool to create attractive web gauges and dials from dynamic data.
Create an XML source to describe a gauge, then pass it to this tool’s flash file to generate the gauge. Type the XML source manually, or use any scripting language (PHP, Perl, ASP, CFML, etc.) to generate it automatically.
HTML 5 implementation of Google Finance chart, (which uses Flash). Good for plotting financial data in HTML.
RGraph is another HTML 5 bar chart implementation
A real time HTML 5 canvas chart that updates in real time. Great for data that changes frequently. Unfortunately, currently only works in Chrome and Safari 5.
D3 allows you to bind arbitrary data to a Document Object Model (DOM), and then apply data-driven transformations to the document. As a trivial example, you can use D3 to generate a basic HTML table from an array of numbers. Or, use the same data to create an interactive SVG bar chart with smooth transitions and interaction.
D3 is not a traditional visualization framework. Rather than provide a monolithic system with all the features anyone may ever need, D3 solves only the crux of the problem: efficient manipulation of documents based on data. This gives D3 extraordinary flexibility, exposing the full capabilities of underlying technologies such as CSS3, HTML5 and SVG.
Kendo UI offers impressive data visualizations that leverage HTML5 to bring you rich dashboard interfaces on every browser and every device. The broadest reach possible without having to compromise on performance and interactivity. By leveraging SVG, your graphs will use hardware acceleration for those clients who support it. Free for open source projects, commercial license available otherwise.
- Configuration is by dynamic functions, allowing for a really compact API (very few options)
- Non-core layout is done via CSS rather than code
Dance.js is a simple data-driven visualization framework. It’s basically a flavor of Backbone.js, but enriched with some of the ideas of the very popular D3.js visualization framework, mentioned earlier.
A Dance.js dance involves several Performers (aka views or visualizations) who are performing on screen. Users of Backbone.js might already be familiar with the API, as it’s pretty much the same as for Backbone.View. Dance.js comes with its own data manipulation framework, Data.js which functions as a replacement for Backbone.Model.
js Graph it
An interesting approach to graphing, js graphing lets you define you graph in HTML but adds interactivity to it through drag and drop motions. All manner of creations are possible with everything from flow diagrams to sitemaps.
A general purpose real-time charting library for building beautiful, smooth, and high performance visualizations.
D3-based reusable chart library