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.

Screenshot of the Plotly.js demo

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

npm
npm install plotly.js
v4.3.0

Development activity

Commits per month to the default branch over the last 12 complete months.

0200400 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep Oct
0200400 Nov 2025 Feb 2026 May Aug
1,586 commits from Nov 2025 to Oct 2026.
Show data as a table
Plotly.js commits per month
MonthCommits
Nov 202564
Dec 202558
Jan 202678
Feb 202655
Mar 202637
Apr 2026122
May 2026139
Jun 2026337
Jul 2026257
Aug 2026160
Sep 2026152
Oct 2026127

Popularity among JavaScript charting libraries

GitHub stars for Plotly.js and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
Chart.js67,803
Apache ECharts67,746
Plotly.js18,384
ApexCharts15,192
Frappe Charts15,102
Chartist.js13,469
G212,667

Alternatives to Plotly.js

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?

Yes. Plotly.js is released under the MIT license, and its source code is on GitHub.

Is Plotly.js still maintained?

Yes. Plotly.js is actively developed, with 1,586 commits in the last 12 months and the latest commit yesterday.

How do I install Plotly.js?

From npm: npm install plotly.js.

What are the best alternatives to Plotly.js?

The most popular alternatives listed in JavaScript charting libraries are Chart.js, Apache ECharts, and ApexCharts. See the full ranking.

What language is Plotly.js written in?

Plotly.js is primarily written in JavaScript, according to GitHub.

Data: GitHub API, npm. Updated Nov 18, 2026.