i work on asp mvc3 project , and i have to display histogram in view depending on data coming from action, can you suggest me any library javascript that can be easy to use and make good histogram, please any syggestion !!
i work on asp.net mvc3 project , and i have to display histogram in view depending on data coming from action, can you suggest me any library javascript that can be easy to use and make good histogram, please any syggestion !!
Share Improve this question asked Aug 7, 2012 at 13:47 ucefucef 5573 gold badges10 silver badges27 bronze badges3 Answers
Reset to default 11http://www.highcharts.com/ - excellent integration and nice looking (free for non-commercial)
http://www.jqplot.com/ - open source, nice looking as well (free as in beer)
http://g.raphaeljs.com/ - another open source, well maintained
http://www.flotcharts.org/ - built specifically for JQuery (if that is what you are using)
Basically, take a look at these and others, find one that looks good and will easily plug in to your existing architecture and roll.
If you just want to sort the data into bins, take a look at histogram.js.
2023 open source alternative
If one is willing to decouple data binning from visualization, an alternative that is fully open source is to:
- Bin the data using d3.bin (requires the the d3-array library); a full example is available here
- Visualize the binned data using ApexCharts.js (full example here) or Chart.js (full example here)