GitHub stars
18.4K#29 in the directory
npm downloads / week
965.5K
Commits, last 12 months
1,567
Contributors
267
Last commit
Latest release
v4.2.0Oct 29, 2026

Overview

Plotly.js is an open-source JavaScript charting library released under the MIT license. Its GitHub repository has 18,376 stars, 2,066 forks, and 267 contributors. It is actively developed with 1,567 commits in the last 12 months. The latest release, v4.2.0, was published on Oct 29, 2026. On npm it is downloaded about 965.5K 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.2.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,567 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 2026154
Sep 2026152
Oct 2026114

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,776
Apache ECharts67,686
Plotly.js18,376
ApexCharts15,187
Frappe Charts15,093
Chartist.js13,457
G212,655

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,567 commits in the last 12 months and the latest commit 7 days ago.

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 6, 2026.