Kevin William David

Chart.js - Simple, clean & engaging charts for designers and developers

by•

Add a comment

Replies

Best
ian ownbey
Are there any stresstests for how many datapoints this can handle? That has been a major shortcoming of most javascript graphing libraries
Nick Downie
@iano author here, no stress tests in particular, but canvas tends to be very performant dealing with larger datasets. Though in my opinion you should think more along the lines of what is understandable for your users rather than how many pieces of data you can push into a charting library. For example, showing >1000 data points on an 800px canvas isn't going to make much sense for your when a point is smaller than a pixel! Chart.js doesn't make any assumptions on aggregating your data internally, but It would probably make more sense to preprocess into something more clear and manageable to visualise at a glance, then expand details in a separate visualisation upon interaction.
JP Patil
@kwdinc As another charting option free for folks - we open-sourced xCharts. You can find it on GitHub - http://tenxer.github.io/xcharts/
Zack Shapiro
How does this compare to D3?
Matt Lutze
@zackshapiro Most directly, Chart.js uses HTML5 canvas elements, while D3.js uses SVG. Chart.js focuses on providing a set of charts that you can customize out the wazoo, while with D3 you're getting a library of functions to simplify building and manipulating elements in an SVG (which just so happens to lend itself well to charting). It'll be quicker out the box with Chart.js if you want to build a chart and likely remain that way; D3 really shines when you're looking to expand into more expressive/interactive/broader information visualizations.
Brandon Doyle
I love this
Neal Shyam
We ran a challenge with @_nnnick last year ( http://chartjs.challengepost.com... ) that resulted in some great chart.js projects. @naveen & @slangille were also on the judging panel.
Shubham Naik
Love this product, I use it for all my graphs!
Andrew Lin
I've always loved infographics like: http://mbtaviz.github.io/ This looks like the beginning of a much more accessible framework.
Emer
Question for everyone here: Any suggestions or pointers on creating hooks to web audio with Chart.js or similar apps?