# @mui/x-charts-vendor

> Vendored dependencies for MUI X Charts.

Latest version **9.13.0** (published 2026-09-04) · MIT AND ISC license · 0 weekly downloads

## Install

```sh
npm install @mui/x-charts-vendor
pnpm add @mui/x-charts-vendor
yarn add @mui/x-charts-vendor
bun add @mui/x-charts-vendor
```

## Health

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

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 9.13.0 |
| Published | 2026-09-04 |
| First published | 2024-08-01 |
| Weekly downloads | 0 |
| License | MIT AND ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 25 |
| Unpacked size | 986.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 5842 |
| Author | MUI Team |
| Maintainers | cherniavskii, lukastyla, alexandrefauquette, danailh, flaviendelangle, oliviertassinari, mbilalshafi, jcquintas, kyusuf, michelengelen, noraleonte, arminmeh, romgrk, bernardobelchior, rita-codes, janpotoms |
| Keywords | data visualization, React, d3, charting |

## Links

- npm: https://www.npmjs.com/package/@mui/x-charts-vendor
- Repository: https://github.com/mui/mui-x
- npm.io page: https://npm.io/package/@mui/x-charts-vendor

## Dependencies (25)

- [d3-geo](https://npm.io/package/d3-geo.md) ^3.1.1
- [d3-path](https://npm.io/package/d3-path.md) ^3.1.0
- [d3-time](https://npm.io/package/d3-time.md) ^3.1.0
- [d3-array](https://npm.io/package/d3-array.md) ^3.2.4
- [d3-color](https://npm.io/package/d3-color.md) ^3.1.0
- [d3-scale](https://npm.io/package/d3-scale.md) ^4.0.2
- [d3-shape](https://npm.io/package/d3-shape.md) ^3.2.0
- [d3-timer](https://npm.io/package/d3-timer.md) ^3.0.1
- [d3-format](https://npm.io/package/d3-format.md) ^3.1.2
- [flatqueue](https://npm.io/package/flatqueue.md) ^3.1.0
- [internmap](https://npm.io/package/internmap.md) ^2.0.3
- [@types/d3-geo](https://npm.io/package/@types/d3-geo.md) ^3.1.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.29.7
- [@types/d3-path](https://npm.io/package/@types/d3-path.md) ^3.1.1
- [@types/d3-time](https://npm.io/package/@types/d3-time.md) ^3.0.4
- [d3-interpolate](https://npm.io/package/d3-interpolate.md) ^3.0.1
- [d3-time-format](https://npm.io/package/d3-time-format.md) ^4.1.0
- [@types/d3-array](https://npm.io/package/@types/d3-array.md) ^3.2.2
- [@types/d3-color](https://npm.io/package/@types/d3-color.md) ^3.1.3
- [@types/d3-scale](https://npm.io/package/@types/d3-scale.md) ^4.0.9
- [@types/d3-shape](https://npm.io/package/@types/d3-shape.md) ^3.2.0
- [@types/d3-timer](https://npm.io/package/@types/d3-timer.md) ^3.0.2
- [@types/d3-format](https://npm.io/package/@types/d3-format.md) ^3.0.4
- [@types/d3-interpolate](https://npm.io/package/@types/d3-interpolate.md) ^3.0.4
- [@types/d3-time-format](https://npm.io/package/@types/d3-time-format.md) ^4.0.3

## 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

- 9.13.0 (latest) — 2026-09-04
- 8.29.0 (latest-v8) — 2026-06-05
- 9.0.0-rc.0 (next) — 2026-04-07
- 9.11.1 — 2026-08-06
- 9.11.0 — 2026-08-06
- 9.4.0 — 2026-06-04
- 9.0.0 — 2026-04-08
- 9.0.0-alpha.2 — 2026-03-05
- 9.0.0-alpha.0 — 2026-02-16
- 8.26.0 — 2026-01-22
- 8.25.0 — 2026-01-14
- 8.23.0 — 2025-12-24
- 8.22.0 — 2025-12-11
- 8.21.0 — 2025-12-04
- 8.19.0 — 2025-11-20
- … 36 more at https://npm.io/package/@mui/x-charts-vendor/versions

## README

# Charts Vendor

Vendored dependencies for @mui/x-charts.

An adaptation of the victory-vendor

## Background

D3 has released most of its libraries as ESM-only. This means that consumers in Node.js applications can no longer just `require()` anything with a d3 transitive dependency, including much of @mui/x-charts.

To help provide an easy path to folks still using CommonJS in their Node.js applications that consume @mui/x-charts, we now provide this package to vendor in various d3-related packages.

## Main difference with victory-vendor

Victory is using the `d3-voronoi` which is an archived project.

## Packages

We presently provide the following top-level libraries:

- d3-color
- d3-interpolate
- d3-sankey
- d3-scale
- d3-shape
- d3-time
- d3-timer

This is the total list of top and transitive libraries we vendor:

- d3-array
- d3-color
- d3-format
- d3-interpolate
- d3-path
- d3-sankey
- d3-scale
- d3-shape
- d3-time
- d3-time-format
- d3-timer
- internmap

## How to add a new package

To add a new package, simply install it as a dependency in this package, and then run the build script.

If your package is not built, you may need to adjust the parameters on [./scripts/build.js](./scripts/build.js), then run the build script again.

## How it works

We provide two alternate paths and behaviors -- for ESM and CommonJS

### ESM

If you do a Node.js import like:

```js
import { interpolate } from '@mui/x-charts-vendor/d3-interpolate';
```

under the hood it's going to just re-export and pass you through to `node_modules/d3-interpolate`, the **real** ESM library from D3.

### CommonJS

If you do a Node.js import like:

```js
const { interpolate } = require('@mui/x-charts-vendor/d3-interpolate');
```

under the hood, it will go to an alternate path that contains the transpiled version of the underlying d3 library found at `x-charts-vendor/lib-vendor/d3-interpolate/**/*.js`.
This further has internally consistent import references to other `x-charts-vendor/lib-vendor/<pkg-name>` paths.

Note that for some tooling (like Jest) that doesn't play well with `package.json:exports` routing to this CommonJS path, we **also** output a root file in the form of `x-charts-vendor/d3-interpolate.js`.

## Licenses

This project is released under the MIT license, but the vendored in libraries include other licenses (for example ISC) that we enumerate in our `package.json:license` field.

---
_Source: https://npm.io/package/@mui/x-charts-vendor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
