Plotly.js
Powerful declarative library with support for 20 chart types.
- Active
- MIT
- JavaScript
- JavaScript charting libraries
- GitHub stars
- 18.4K#29 in the directory
- npm downloads / week
- 931.1K
- Commits, last 12 months
- 1,586
- Contributors
- 269
- Last commit
- Latest release
- v4.3.0Nov 10, 2026
Overview
Plotly.js is an open-source JavaScript charting library released under the MIT license. Its GitHub repository has 18,384 stars, 2,071 forks, and 269 contributors. It is actively developed with 1,586 commits in the last 12 months. The latest release, v4.3.0, was published on Nov 10, 2026. On npm it is downloaded about 931.1K times per week.
Its GitHub description: Open-source JavaScript charting library behind Plotly and Dash
GitHub topics: data-visualizationd3webglplotlycharting-librarychartsvisualizationplotly-dashregl
Try it live
This demo of Plotly.js draws the same Gapminder dataset (life expectancy, GDP per capita and population for 142 countries, 1952–2007) in the same three views as the other libraries’ demos, so you can compare them side by side; it runs on Cloudish and may take a few seconds to wake up.
Views: GDP per capita vs life expectancy by year, life expectancy over time for one country, and a world map of one metric for one year.
The same demo in other libraries: Apache ECharts · Chart.js · Matplotlib · Shiny for R · Streamlit. See them all side by side.
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Nov 2025 | 64 |
| Dec 2025 | 58 |
| Jan 2026 | 78 |
| Feb 2026 | 55 |
| Mar 2026 | 37 |
| Apr 2026 | 122 |
| May 2026 | 139 |
| Jun 2026 | 337 |
| Jul 2026 | 257 |
| Aug 2026 | 160 |
| Sep 2026 | 152 |
| Oct 2026 | 127 |
Popularity among JavaScript charting libraries
Show data as a table
| Tool | Stars |
|---|---|
| Chart.js | 67,803 |
| Apache ECharts | 67,746 |
| Plotly.js | 18,384 |
| ApexCharts | 15,192 |
| Frappe Charts | 15,102 |
| Chartist.js | 13,469 |
| G2 | 12,667 |
Alternatives to Plotly.js
-
Chart.js
Charts with the canvas tag.
-
Apache ECharts
Highly customizable and interactive charts ready for big datasets.
-
ApexCharts
Modern & Interactive SVG Charts.
-
Frappe Charts
Simple, responsive SVG charts with zero dependencies.
-
Chartist.js
Responsive charts with great browser compatibility.
-
G2
An interactive and responsive charting library based on the grammar of graphics, maintained by Alibaba.
More comparisons: Chart.js vs Plotly.js · Apache ECharts vs Plotly.js · ApexCharts vs Plotly.js · Frappe Charts vs Plotly.js · D3.js vs Plotly.js · Plotly.js vs Plotly (Python) · Lightweight Charts vs Plotly.js
Plotly.js FAQ
Is Plotly.js open source?
Is Plotly.js still maintained?
How do I install Plotly.js?
npm install plotly.js.What are the best alternatives to Plotly.js?
What language is Plotly.js written in?
Data: GitHub API, npm. Updated Nov 18, 2026.