# plotly.js-dist

> Ready-to-use plotly.js distributed bundle.

Latest version **4.1.1** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install plotly.js-dist
pnpm add plotly.js-dist
yarn add plotly.js-dist
bun add plotly.js-dist
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no esm support; large bundle.

## Facts

| | |
|---|---|
| Version | 4.1.1 |
| Published | 2026-09-14 |
| First published | 2018-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18338 |
| Author | Plotly, Inc. |
| Maintainers | chriddyp, bpostlethwaite, antrg, bronsolo, t4rk, ndrezner, roman-nb, camdecoster, alexcjohnson, aborrmann, emilykl-plotly, packages-team-plotly, etpinard |
| Keywords | graphing, plotting, data, visualization, plotly |

## Links

- npm: https://www.npmjs.com/package/plotly.js-dist
- Repository: https://github.com/plotly/plotly.js
- Homepage: https://github.com/plotly/plotly.js#readme
- Issues: https://github.com/plotly/plotly.js/issues
- npm.io page: https://npm.io/package/plotly.js-dist

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 4.1.1 (latest) — 2026-09-14
- 4.0.0-rc.0 (rc) — 2026-07-21
- 4.1.0 — 2026-09-08
- 4.0.0 — 2026-08-24
- 3.7.0 — 2026-07-03
- 3.6.0 — 2026-06-01
- 3.5.1 — 2026-05-01
- 3.5.0 — 2026-04-03
- 3.4.0 — 2026-02-20
- 3.3.1 — 2025-12-12
- 3.3.0 — 2025-11-14
- 3.2.0 — 2025-10-31
- 3.1.2 — 2025-10-16
- 3.1.1 — 2025-09-29
- 3.1.0 — 2025-08-08
- … 170 more at https://npm.io/package/plotly.js-dist/versions

## README

# plotly.js-dist

Ready-to-use plotly.js distributed bundle.

Contains trace modules `bar`, `barpolar`, `box`, `candlestick`, `carpet`, `choropleth`, `choroplethmap`, `cone`, `contour`, `contourcarpet`, `densitymap`, `funnel`, `funnelarea`, `heatmap`, `histogram`, `histogram2d`, `histogram2dcontour`, `icicle`, `image`, `indicator`, `isosurface`, `mesh3d`, `ohlc`, `parcats`, `parcoords`, `pie`, `quiver`, `sankey`, `scatter`, `scatter3d`, `scattercarpet`, `scattergeo`, `scattergl`, `scattermap`, `scatterpolar`, `scatterpolargl`, `scattersmith`, `scatterternary`, `splom`, `streamtube`, `sunburst`, `surface`, `table`, `treemap`, `violin`, `volume` and `waterfall`.

For more info on plotly.js, go to https://github.com/plotly/plotly.js#readme

## Installation

```
npm install plotly.js-dist
```
## Usage

```js
// ES6 module
import Plotly from 'plotly.js-dist'

// CommonJS
var Plotly = require('plotly.js-dist')
```

## TypeScript

This package includes its own TypeScript declarations.

```ts
import Plotly from 'plotly.js-dist'
import type { Data, Layout } from 'plotly.js-dist'

const data: Data[] = [{ type: 'scatter', x: [1, 2, 3], y: [4, 5, 6] }]
const layout: Partial<Layout> = { title: { text: 'Demo' } }

await Plotly.newPlot(div, data, layout)
```

## Copyright and license

Code and documentation copyright 2026 Plotly, Inc.

Code released under the [MIT license](https://github.com/plotly/plotly.js/blob/main/LICENSE).

Docs released under the [Creative Commons license](https://github.com/plotly/documentation/blob/source/LICENSE).

Please visit [complete list of dependencies](https://www.npmjs.com/package/plotly.js/v/4.1.1?activeTab=dependencies).

---
_Source: https://npm.io/package/plotly.js-dist · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
