Best Javascript Chart Libraries for 2021
1. NVD3.js
First and foremost is a library I’ve used frequently in industry and it never fails to please. NVD3 is a library that sits on top of the d3.js JavaScript library utilizing many of the usual traits.
Notable Feature List
- Completely responsive
- User-friendly tooltips
- Customizable tooltips
- Easy to work with JSON
- Series turn on / turn off
- Legends
- Dual-axis capability
- Quick and easy to download and use
- Plenty of examples
- Live chart playground
Licensing - NVD3 is released and licensed with the Apache 2.0 license meaning it’s completely free to use for both personal and commercial practices.
Links - NVD3 is hosted on various CDN networks as listed below
GitHub Repo
Documentation
-------------------------------------------------------------------------------------------------------------
2. Dygraphs
Dygraphs is probably one of the fastest rendering charts I have come across, especially when the data set is vast. This library can handle data sets going into the tens of thousands and still deliver a great user experience.
Notable Feature List
- Can handle huge data sets and is superior in this department when compared to other libraries
- Cross chart synchronization
- Annotations, and highly customizable annotations at that
- Range/Viewfinder
- Very simple to get develop with
- Perfect for real-time data visualization
- Extremely fast data point feedback with off-chart data display
- Zoom in and out functionality
- Plenty of examples with links to JSFiddles
- Easy to work with data, simple arrays, or load from text or CSV files
Licensing - Dygraphs is licensed under the MIT License which offers usage, modification, and distribution by both personal and commercial parties.
Links - Dygraphs can be delivered directly to your own project by the following CDN networks
GitHub Repo
Documentation
-------------------------------------------------------------------------------------------------------------
3. Vis.js
Vis.js is a very versatile parent library of other sub-libraries including networking, timeline, 2d, and 3d visualization capabilities. This library offers 3d charts which are pretty rare amongst most charting libraries which definitely gives it an edge.
Notable Feature List
- 3D Charts
- 2D Charts
- Multi-chart capability
- Optional tooltips
- 3D interactivity on relevant charts
- Chart playgrounds demonstrating many of its features
- Flawless animations
Licensing - The Viz.js library is dual-licensed under both Apache 2.0 and MIT licenses. Both of these licenses enable usage, modification, and distribution by both personal and commercial parties.
Links - VizJS can be delivered directly to your own project by the following CDN networks
GitHub Repo
Documentation
4. ChartJS
Next at number four is another one of my personal favorites. If you want a chart visualization library that always looks great, then this is the one. Somehow, the creator of ChartJS got the default colors absolutely perfect and they go so well within any website. It’s again another library that doesn’t have a massive selection of charts but does it very well with the ones it does offer.
Notable Feature List
- Very easy to work with without the knowledge of JSON markup.
- Mixed chart types, build bars and lines onto the same visualization.
- Beautiful animations
- Tooltips
- Renderable on all major browsers including IE11+
- Completely responsive
- Thorough user documentation and sample base
- Includes one of the only free-to-use radar charts that actually works correctly and visualizes data properly.
Licensing - ChartJS is released under the MIT license and therefore is freely available to use in your own personal and commercial projects. It
Links - ChartJS is hosted on various CDN networks as listed below
GitHub Repo
Documentation
-------------------------------------------------------------------------------------------------------------
5. ApexCharts.js
ApexChart.js comes with a variety of elegant features to bring beautiful data analysis to your web pages. On paper, this library ticks nearly all the boxes you would usually want it for. With annotation capability which is relatively rare in free-to-use packages. Responsiveness and animations and to top all that off, it looks pretty great too.
Notable Feature List
- Beautiful visual annotations
- Completely responsive
- Flexible interactivity including pan, scroll, zoom in and out.
- Tooltips
- Vast user documentation
- Preset color themes you can easily switch between
- Lot’s of demos and source code to get your hands on
- Offers paid upgrades to include some of FusionChart’s add-on packages.
- Works flawlessly with vanilla JS, VueJS, React, and Angular, documentation included.
Licensing - ApexChart.js is released under the MIT license and therefore is freely available to use in your own personal and commercial projects. Considering how many features this library offers, it’s hard to believe it’s free to use!
Links - ApexCharts is hosted on various CDN networks as listed below
GitHub Repo
Documentation
-------------------------------------------------------------------------------------------------------------
6. Billboard.js
In what feels like a very minimalist library, billboard.js comes with a good set of charts for data visualization. It’s based on D3 version 4 and has similarities to c3.js charts. Billboard has a stacked list of charts to use and a huge load of configurable assets such as the legend, axis, and tooltips.
Notable Feature List
- Vast customization allowing you to get the exact visualization for the job at hand
- Completely responsive
- Tooltips and dual chart linked tooltips
- Manual Zoom, drag zoom, and sub-charts with viewfinder zoom
- Easily added labeled Y lines which are great for added analysis
- Gradient chart area fills
Licensing - Another project that has been released under the MIT license. Billboard.js is therefore freely available to use in your own personal and commercial projects. Considering how many features this library offers, it’s hard to believe it’s free to use!
Links - Billboard.js is hosted on various CDN networks as listed below
GitHub Repo
Documentation
-------------------------------------------------------------------------------------------------------------
7. FrappeCharts
If you’re a keen developer, then you’ll probably feel familiar with the way that Frappe Charts look and feel. That’s because the charts designs are inspired by charts you find on GitHub. You will recognize the heatmap straight away if you’ve been making plenty of commits lately.
Notable Feature List
- Rapid export an SVG capability which is basically an instant export to image (SVG) file.
- Annotations
- GitHub theme inspired which is extremely clean
- Beautiful animations during chart updates
- Mixed chart capability
- Epic looking tooltips when using multi/mixed charts
- Fully responsive
- Zero dependencies
- Rapid export an SVG capability which is basically an instant export to image (SVG) file.
- Annotations
- GitHub theme inspired which is extremely clean
- Beautiful animations during chart updates
- Mixed chart capability
- Epic looking tooltips when using multi/mixed charts
- Fully responsive
- Zero dependencies
Licensing - Frappe Charts are completely open-sourced and released under the MIT license. This gives the rights for both personal project and commercial project use alike.
Links - Frappe Charts is hosted on various CDN networks as listed below
GitHub Repo
Documentation
-------------------------------------------------------------------------------------------------------------
8. ToastUI
ToastUI is a very visual, modernized library that not only offers pretty much all the common charts but looks brilliant too. Each chart has the capability to be exported in a variety of ways including .xls (data), .jpg (image). This of course is very handy for the end-user, especially the ability to export the data behind the chart for further analysis.
Notable Feature List
- Multi export functionality which includes .xls, .csv, .jpg and .png
- Completely responsive for the modern web
- Nice animations during real-time data updates
- Beautiful animations during chart updates
- Deselectable/selectable data series
- Zero dependencies
Licensing - ToastUI has been released under the MIT license. This gives the rights for both personal project and commercial project use alike.
Links - ToastUI is hosted on various CDN networks as listed below
- https://uicdn.toast.com/chart/latest/toastui-chart.min.css
- https://unpkg.com/browse/frappe-charts@1.3.0/
- https://cdnjs.com/libraries/tui-chart
GitHub Repo
Documentation
-------------------------------------------------------------------------------------------------------------
9. RoughViz
Notable Feature List
- Very unique, nothing else around like it
- Plenty of customizable options
- Tooltips
- Built upon d3.js version 5
Licensing
CDN Links
NVD3 is hosted on various CDN networks as listed below
GitHub Repo
---------------------------------------------------------------------------------------------------------------------
11. C3.js
C3.js deserves its place in this list of the best JS libraries available in 2021. The library has been around a long time, is super-clean, customizable to suit many needs, and has a good range of charts to work with. Built upon the renowned D3.js charting engine, C3.js offers a maintained, up-to-date visualization experience that is perfect for most use-cases.
Notable Feature List
- ‘Zoomable’ sub-charts
- Appealing animations
- Highly customizable
- Tooltips
- Excellent documentation with code examples and demonstrations
Licensing
CDN Links
AmCharts is hosted on various CDN networks and has its own CDN source links too.
- https://cdnjs.com/libraries/c3
- https://www.jsdelivr.com/package/npm/c3
- https://www.jsdelivr.com/package/npm/@amcharts/amcharts4
GitHub Repo
Documentation
13. GoogleCharts
Google charts is a very long-standing charting package that pretty much has it all. With an excellent documentation base and examples to support. Google Charts have an almost semi-modern style with the instant visual realization that it’s a Google brand, especially by the default color scheme.
Notable Feature List
- A massive feature of this package is that it’s completely free for commercial use, which is pretty awesome considering the size of the brand
- Extremely detailed documentation base with many examples to learn from
- Tooltips
- Annotations
- All charts are zoomable
- Some of the best visual chart gauges on the web (In my opinion)
Licensing
GoogleCharts is completely free to use across the board giving personal and commercial the rights to use it.
CDN Links
Google Charts has its own hosted content delivery network links which can be found using the following link
GitHub Repo
Not applicable
Documentation
---------------------------------------------------------------------------------------------------------------------
14. SmoothieCharts
Notable Feature List
- Superior smooth chart updates
- Geared towards fast-updating data or ‘Streaming data’
- Very easy to set up
- Fully responsive
- Colour customization
- Line & multi-line capability
- Chart configuration builder that outputs code snippets ready to go
Licensing
SmoothieCharts has been released under the MIT license and so is free to use for both personal and commercial projects.
CDN Links
GitHub Repo
Documentation
---------------------------------------------------------------------------------------------------------------------
15. AnyChart
Notable Feature List
- Both 2d and 3d charts available
- Beautiful default styles, tooltips, and animations
- Load data from CSV and even export data to CSV & Excel
- Fully responsive
- Ready for essentially any platform
- Pareto charts
- Also offers additional ‘AnyMaps’ ‘AnyStocks’ ‘AnyGant’ packages
- Prepared for ‘Big Data’ with the ability to render seamlessly
- On canvas drawing tools, the ability to complete add your own info points/annotations
- Export rendered charts as an SVG, PNG, JPG, or PDF
- 70+ Chart types to choose from
Licensing
AnyCharts offers a range of licensing which are mainly catered for commercial usage. Although having said this, they do provide a custom free license for non-profit and educational use. Commercial licenses start from as little as $49 which is pretty amazing with the size of the package you get.
CDN Links
AnyCharts have their own content delivery network which can be found with the following link
GitHub Repo
Documentation
---------------------------------------------------------------------------------------------------------------------
16. MuzeJS
Notable Feature List
- In-built cross-filter helper
- Lasoo selection tool
- Zoom and pan
- Drill down functionality
- Big data capability, after rendering, interactivity is second to none
- Powered by Web Assembly
Licensing
From what I can interpret on the MuzeJS website, is that the license is a custom one. Although having said this, it still gives full flexibility between the usage of personal and commercial projects alike.
CDN Links
GitHub Repo
Documentation
---------------------------------------------------------------------------------------------------------------------
Notable Feature List
- Zoom, Pan, Select interactivity
- 2d & 3d charts
- Unique ‘Crosshair’ tooltips
- Drill down capability out of the box
- On-chart image rendering
Licensing
ZingChart has a freemium licensing model; This means that you can use it for both personal and commercial purposes as long as you show the small attribution link (this can be seen in the demo above). Alternatively, you can buy a full license which starts from as little as $99 per year.
CDN Links
ZingChart provides a content delivery network to use the JavaScript library which can be found on the following link.
GitHub Repo
Documentation
Summary
There are clearly many very versatile and feature-packed libraries available to use on the web. I will continue to add to this list as I discover newly released libraries or even hidden gems.
I would love to hear which is your favorite, and it doesn’t have to be on this list either. Send me in the direction of some great libraries and I could well list them on here too.
Nenhum comentário:
Postar um comentário