If you've ever used any type of data, you should know the pain of reading a row of data. It's not easy to figure out what they mean by all this data. Visualization has played an important role in solving this problem. Visualization reduces the difficulty of reading data and helps decision makers gain actionable insights.
"Dataviz" is the abbreviation for data visualization, and its main objectives are:
communicate information clearly and effectively with users through statistical graphs, charts, information images, tables, and selected tables.
-wikipedia
As a developer, we have to make sure that we use the right tools to create meaningful graphs from our data, and that we get the right details when we look at the graphs.
There are a lot of JQuery chart plugins that can help you create interactive visualizations of your Web pages , but what is really valuable? This article lists some of my favorites, and marks the most appropriate scenario for each plugin. In this way, you can choose the right plugin for your purpose without wasting a lot of effort and time.
1. Fusioncharts
As part of the JavaScript Chart library, Fusioncharts also provides a jquery plugin that combines all the good parts of fusioncharts – smart design, animations, and a rich interactive experience. The chart works seamlessly on all types of devices including pc,mac,android devices as well as ipad and iphone, and is backwards compatible with IE6.
This jquery plugin has some very powerful features. Charts can be generated from JSON data, XML data, and HTML tabular data. As the chart timeline has a lot of events (this is a complete list), it makes it easy to connect to listeners to perform specific actions.
They have a handy guide to help you get started with plugins and provide online snippets of code that you can use directly. You can also find the plugin and the corresponding code on GitHub.
License: Non-commercial users are free and commercial users are charged.
2. Flot
In Denmark, flot means elegance, glamour and impressive, and that's what flot is all about. Its main purpose is to create easy-to-use, engaging, interactive graphics and graphs. Interactive features include turning a series of on or off, panning and zooming. Other features include multi-axis support, stacked graphs, rendering text using canvas instead of HTML, and many more features.
There are a lot of video tutorials that can help you learn how to use flot, and there are many examples you can refer to.
License: Open source, free for everyone
3. Highcharts
Highcharts is another very popular JavaScript chart library. It was released in 2009 and offers common charts, maps, and stock charts.
You can download the version of jquery from the download home page of the development library itself, and you can appreciate its power without having to deal with JavaScript.
Like Fusioncharts, it also supports all browsers (including IE6), devices, and platforms. And it has good community support, you can find all the plugins on the Community homepage. Another very cool feature is its demo section, so you can run it up very quickly.
License: Non-commercial users free, business users need to pay
4. Morris.js
Morris.js is a simple and powerful graphical library based on jquery. Its purpose is to provide easy-to-use beautiful charts. The default chart types are line, Bar, area, and donut graphs. The library provides examples where you can get started with these codes and create good-looking charts within minutes.
License:simplified BSD License.
5. Canvasjs JQuery
Canvasjs jquery is a library of jquery charts from Canvasjs. With this plugin, you can take advantage of all the standard features of CANVASJS, as well as an extended set of features, including dynamic updates, panning and zooming, events and output images. The chart behaves fairly well, for big data sets and basic packages, including 24 different chart types, all of which are responses.
Here are some good examples of the charting capabilities of the source code and the jquery UI integration.
License: Non-commercial users free, business users need to pay
6. Cytoscape.js
Cytoscape.js is not a common chart library, but it is enough to be listed in this list. Unlike the other plugins we're currently discussing, Cytoscape is really a jquery chart library (for example, it helps visualize graphics or networks). When it turns the network raw data into a chart, it is highly customizable, and it can come out with huge amounts of data. It is compatible with all modern browsers, Commonjs/nodejs, JQuery and Meteor/atmosphere. It also supports touch events and standard gestures. For a more comprehensive list of features, see the Cytoscape.js introduction page.
Cytoscape.js's documentation contains some online examples, and a complete set of unit tests.
License:open-source. Free for all users. (lgpl3+)
7. peity
Sometimes all you need is a small picture that fits your content, Peity is a perfect solution for these situations. It allows you to use a small piece of code to convert a dataset into bar charts, donut graphs, line graphs, or mini pies. It is presented in SVG format and is therefore suitable for all browsers that support SVG elements, such as Chrome, Opera, Firefox, ie9+, and Safari. You can also customize the visual elements of the chart and set the dynamic color. Charts can be updated to reflect changes in the data. There are also many instances and code on the GitHub page.
License:open-source under the MIT License.
8. Easy Pie Chart
When we mentioned simplicity and efficiency, I had to mention the easy Pie Chart. This is a jquery plugin, it does one thing, and only does this one thing – the single data is presented in a pie chart. It uses canvas elements to render these diagrams. The diagram is easy to customize and requires only a few lines of code. They are also responsive, showing clear images, even on the retina screen, based on the resolution scale.
The plugin is compatible with all modern browsers that support canvas elements. In IE 8 and older versions, you can use the Excanvas rendering diagram. You can find some interesting examples on the GitHub page.
License:open-source under the MIT License.
9. Jqplot
Jqplot is a jquery plugin that allows you to insert a pure client diagram into your Web page. Jqplot threatened to claim to be highly pluggable – lines, axes, shadows, grids, etc. – are rendered and drawn by plugins, and are highly customizable. It has a lot of hooks for you to customize to handle event functions, add new chart types, add new canvas plots and other advanced features.
Detailed use of the tutorial can be consulted here. Here are some examples of dynamic rendering and single-page testing.
License:open source project. Dual licensed under the MIT and GPL version 2 licenses.
Ten. JQuery sparklines
JQuery Sparklines (similar to peity) generates inline data graphs that are directly applied to HTML or JavaScript. Only one line of code is needed to create each example. Best of all, you don't even have to write your own code. It has a neat code generator where you can fill in the data and set options that will generate code for you. Note that you cannot add any text or labels to these charts. Their goal is to provide a quick impression or trend in your line of text. If you want comments or other features, you'd better choose the full-featured plugin we mentioned above.
If you want to use this plugin, here is a detailed documentation, including options, syntax and advanced usage.
License:open-source. Free for all uses.
Jquery.gantt.
So far, we've been talking about plugins that create regular graphical graphs, Network Diagram plug-ins, and mini-inline graphical graphs. But if you need a dashboard for project management features, you may need a Gantt chart (Gantt charts). Jquery.gantt uses Ajax to get JSON data to create a Gantt chart for you. Features include panning, zooming, paging, multiple tasks per line, different colors for each task, and so on. To learn how to use this plugin and the parameters it provides, you can refer to this document.
License:open source project. Dual under the MIT and GPL license.
Summarize
My favorite jquery Chart library – At least those I've used – to this end. They cover every chart type, feature, and custom features you might need.
What about you? What do you use when you need to create graphs and graphs? What is your favorite plugin? Why? Please share with us in the comments below and let's start the discussion.
via:sitepoint.com Translation: http://info.9iphp.com/
11 Great JQuery Chart Libraries