Elestia Open Source Ratings
7.2

Plotly.js

A strong pick. 5th of 9 chart libraries.

Plotly.js is a large charting library with many chart types. It covers 3D, maps, WebGL scatter, statistical and scientific charts, and it is the engine behind Plotly for Python and R and behind Dash. It is a solid, actively maintained choice for analytic and scientific charts. Its bundle of about 0.5 MB gzipped makes it a poor fit for typical app dashboards, where ECharts, Recharts or Chart.js are lighter and growing faster.

Best for: Teams that build scientific, analytic or 3D/geo visualisations and want one declarative JSON spec that also works with Plotly for Python and R.

WebsiteGitHubnpm

Scores

Overall7.2

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

For scientific, analytic, 3D or geo charts it is a strong, maintained pick with unmatched chart variety. For most web apps, its large bundle and slowing share make ECharts, Recharts or Chart.js the better default. The range is wide because the fit depends heavily on the kind of project.

GPT-6.2 Sol: 7.8, likely 6.7 to 8.8

Plotly.js is a strong pick when a new project needs interactive scientific plots, 3D surfaces, or figures shared with Python. Its built-in types and active release cadence make those capabilities practical to adopt today. Chart.js is a lighter choice for routine 2D charts, and Apache ECharts is a stronger general dashboard option. Bundle cost, workload-dependent rendering performance, and slower relative download growth keep Plotly.js from being the category default.

Needed by many5.4

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Charts in the browser are a common need, but Plotly's strength is analytic, scientific and 3D charting, not light product dashboards. Its weight puts off many app developers who only need bar and line charts. So it serves a solid but narrower group than the whole category.

GPT-6.2 Sol: 5.8, likely 4.6 to 7.0

Browser charting serves a substantial group of developers building dashboards, reports, and data tools. Plotly.js works across frontend frameworks, with its clearest fit in projects that need scientific plots, maps, or 3D. The surveys give a sense of demand for charting, while the share of JavaScript developers who need Plotly.js's richer feature set remains uncertain.

Helps a lot7.7

How well does it do the job for those who need it?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

No peer offers more chart types out of the box. It also has strong interactivity and WebGL traces, and v4 added first-party TypeScript types. Its bundle size, imperative API and limited fine styling hold it back against ECharts for breadth per kilobyte, and against React-native libraries for app work. AI agents write it well because its JSON spec is widely documented through Plotly for Python.

GPT-6.2 Sol: 8.3, likely 7.2 to 9.2

Version 4.3.0 handles a wide range of interactive charts through one figure format, and its schema reference and built-in types give developers and coding agents concrete options to check. Custom bundles help with download size, though TypeScript still accepts trace types a custom build never registered. A benchmark run by the makers of SciChart found strong results for some many-series charts and much weaker results for dense dashboards and 3D point clouds. Performance depends on the workload, and an open screen-reader issue limits confidence in accessibility.

Holds up over time7.8

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Plotly Inc. funds the work, and the library is the core of its Dash and Studio products. It had 1,595 commits, 13 releases and a release on 2026-11-10. Two breaking majors in quick succession and the company's turn towards AI products add some risk. Still, its commercial stack depends on plotly.js, so continued upkeep is very likely.

GPT-6.2 Sol: 8.0, likely 6.9 to 9.0

Plotly backs the library, more than one maintainer publishes GitHub releases, and 13 releases and 1,595 commits in the past year show active development. Version 4 requires migration for legacy Mapbox traces and raises the Node.js minimum to 22. The issue backlog and slower relative npm growth leave some uncertainty about support and adoption over the next two years.

  • github releasesLastYear, commitsLastYear, openIssues and openPullRequests: 13 releases and 1,595 commits, with 726 open issues and 84 open pull requests.
  • github.com/plotly/plotly.js: Plotly offers paid services for the library and lists several active maintainers.
  • github.com/plotly/plotly.js/releases: Multiple maintainers publish releases that include community contributions.
  • plotly.com/javascript/guides/whats-new-in-v4: Documents the MapLibre migration and Node.js 22 requirement.
  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo and medianDownloadsRatio: 2.78× year-over-year download growth against a 4.1× catalog median.
Used widely5.1

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

It had 3.87M downloads in 4 weeks, up 2.8x from a year ago, which is below the 4.1 median. The peers grew much faster: Recharts 7.5x and ECharts 6.9x. Much of its real use runs through Dash, Plotly for Python and R, and Jupyter, so npm undercounts it. Among direct JS choices it is mid-tier and losing share.

  • npm downloadsLast4Weeks: 3.87M, against 1.39M a year ago (ratio 2.78, below the 4.1 median).
  • github stars: 18.4k stars, mid-tier among the peers.
  • dependents: No ecosyste.ms count available.
  • apexcharts.com/blog/state-of-javascript-charting-2026: About 3.1M monthly downloads, mid-field.

GPT-6.2 Sol: 5.1, likely 3.7 to 6.5

The main npm package rose from 1.39 million to 3.87 million downloads in four weeks year over year. That 2.78× increase trails the 4.1× catalog baseline, and the package has far fewer downloads than Chart.js, Recharts, or ECharts. Build automation and downstream installs can inflate the count, while CDN and sibling-package use escape it. The missing dependent count leaves the number of direct users uncertain, and six Bluesky links and one low-engagement Hacker News story add little precision.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio and peers: Below-baseline growth and a smaller main package than the leading peers.
  • github stars, dependents, bluesky posts and hackerNews stories: 18,386 stars, no dependent count, six Bluesky posts, and one Hacker News story.
  • github.com/plotly/plotly.js/blob/v4.3.0/dist/README.md: CDN files and separate npm packages sit outside the main package count.
  • grafana.com/grafana/plugins/nline-plotlyjs-panel: Grafana reports the downstream Plotly panel running on over 6,000 active instances.
Vouched for7.1

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It renders charts for Plotly for Python and R, for Dash, and for many notebook and data-science tools, so many organisations run it in production. Independent comparisons consistently name it the pick for scientific and 3D work. Survey data and recent independent JS write-ups are thin, and HN and Bluesky attention is minimal.

GPT-6.2 Sol: 7.1, likely 5.8 to 8.3

Streamlit integrated Plotly.js v4 and recommends Plotly for 3D and scientific figures, and an independent Grafana panel shows real deployment. A frontend team also reported choosing Plotly for Python integration and ECharts for its other frontend apps. Mixed benchmark results and limited survey evidence on Plotly.js satisfaction keep the score below the top tier.

Safe6.6

How safe is it to depend on?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

It has an MIT licence and no advisories in 24 months. The 2024 critical prototype-pollution advisory was fixed. It pulls in 42 dependencies, a large attack surface for a chart library. Its Scorecard is 6.4, with weak token-permissions, SAST and fuzzing checks.

  • advisories: 2 in total and none in the last 24 months; one critical in 2024, fixed.
  • npm dependencies: 42 direct dependencies.
  • scorecard: 6.4 overall; Token-Permissions, SAST and Fuzzing at 0.
  • npm license: MIT.

GPT-6.2 Sol: 6.6, likely 5.3 to 7.9

The MIT licence is permissive, and both listed advisories have fixes, with the critical fix shipped before its advisory appeared in OSV. Version 4.3.0 adds another prototype-pollution fix, and 4.1.1 addressed a vulnerable map dependency. The main package has 42 direct dependencies, and OpenSSF Scorecard gives it 6.4 out of 10, with zeroes for token permissions, static analysis, and fuzzing. The documented npm release is manual and requires authorization, and the number of authorized publishers is unclear.

Good

  • Over 40 trace types, including 3D surfaces, maps, Sankey, parallel coordinates and WebGL scatter for large datasets.
  • Built-in zoom, pan, hover and export, with a declarative JSON figure format shared with Plotly for Python, R and Dash.
  • A paid company team maintains it actively: about 1,600 commits and 13 releases in the last year.
  • Since v4 it ships its own TypeScript types, with trace data narrowed by the `type` field.

Bad

  • The bundle is very large: the full build is about 507 kB gzipped, and even the basic partial bundle is about 366 kB gzipped.
  • Two major versions in about 18 months (v3 and v4) removed APIs and mapbox traces, and v4 needs Node 22.
  • Its imperative API and React wrapper feel less idiomatic in component-based apps than Recharts or visx.
  • npm downloads grow well below the median, so it is losing share among new JS projects.

The numbers

npm downloads, 4 weeks
3.9M ×2.8 in a year
GitHub stars
18k
Commits, 12 months
1.6k
npm version
4.3.0 Nov 2026
Versions, 12 months
12
Advisories, 24 months
0 of 2 ever
OpenSSF Scorecard
6.4 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (plotly/plotly.js), npm (plotly.js), OSV and the OpenSSF Scorecard.

Chart libraries

  1. 8.3Apache ECharts
  2. 8.1Recharts
  3. 7.8D3
  4. 7.4Chart.js
  5. 7.2Plotly.js
  6. 6.9Observable Plot
  7. 6.3visx
  8. 5.8Victory
  9. 5.4Nivo
Compare all 9 on six scores