Plottable 4.0.0: chart components you arrange in Tables, now pinned to D3 7 after five years on 3.x
:bar_chart: A library of modular chart components built on D3
At a glance
- What is it?
- palantir/plottable is a TypeScript library of chart parts (plots, gridlines, axes) on top of D3. Version 4.0.0 landed on 2026-10-07 and raised the floor to D3 7, Node.js 22.12 for CommonJS and TypeScript 5.
- Who is it for?
- Use Plottable if you already know D3 and want axes, gridlines and plots that you place yourself in a Table, accepting that a missing feature means writing a new Component. Skip it if you want a chart from one configuration object.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 7 days ago.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- palantir/plottable3,133 ★ · +1
| Repository | 2026-11-03 | 2026-11-24 |
|---|---|---|
| palantir/plottable | 3.1k | 3.1k |
1 Stars in the last 21 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Components and Tables replace chart-level options
Plottable states its own category: it is not a charting library but a library of chart components, a "D3 for Charts". You get plots, gridlines and axes as separate pieces, and you decide how they sit together. The README calls this "Composition over Configuration".
In practice that means the flexibility is in the choice of `Components` and in how you arrange them in `Tables`, not in a long list of properties on one chart object. If a feature does not exist, the README suggests writing a new `Component` that implements it, which keeps your custom code inside the same structure as the rest of the library.
The trade is plain. A fixed-template chart library gives you a bar chart from one call. Plottable gives you the parts of a bar chart and expects you to wire them. The README claims charts are quicker to build than in raw D3, and more flexible than the templates of standard charting libraries. It offers no measurement for either claim.
4.0.0 raises the floor to D3 7, ES2015 browsers, Node.js 22.12 and TypeScript 5
The Quick Start is mostly a list of requirements. Plottable needs D3 7, specifically `d3@^7.9.0`, and a browser with ES2015 support. The source is written in TypeScript and shipped as ES5 JavaScript.
How you load D3 matters. With a script tag or RequireJS, use `d3/dist/d3.min.js`. CommonJS consumers need Node.js 22.12 or later, because D3 7 ships ES modules that Node must be able to load. Browser applications can use a bundler with ES module support. TypeScript consumers need TypeScript 5 or later for the D3 type definitions.
One compatibility note goes the other way: the `Category20`, `Category20b` and `Category20c` color scales retain their original palettes. If your charts depend on those colors, the README says they stay as they were.
The package.json confirms "version": "4.0.0" with main at build/src/index.js and typings at build/src/index.d.ts.
Five years between 3.13.0 and 4.0.0, and no upgrade section for the new major
The release history has a long silence. v3.12.0 shipped on 2021-11-17 and v3.13.0 on 2021-11-22. The next release, v4.0.0, is dated 2026-10-07, and the last push to the develop branch was on 2026-10-06, so the repository was active right before the release.
The README has upgrade sections for v1.0.0, v2.0.0 and v3.0.0, each pointing to a wiki page. For v4.0.0 there is none. What the README does say about 4.0.0 is only implicit in the Quick Start requirements above. If you are moving from 3.x, the README gives you no list of API changes, so read the release notes on GitHub and diff your usage before upgrading production code.
There is one more loose end. The jsdelivr link in the Quick Start still points at `plottable@3/plottable.min.js`. A page loading that URL gets the 3.x line, not 4.0.0.
Getting the package: npm, yarn or a CDN link pinned to 3
Two package-manager routes are listed:
npm install --save plottableyarn add plottableThe third route is the jsdelivr script, which as noted loads the 3.x build. For a 4.0.0 project, use npm or yarn together with D3 7, and load D3 according to the rules in the previous section.
The README gives no code sample of a first chart. It points to the examples page and the tutorials on plottablejs.org instead. Nothing in the README shows a Table or a Component being constructed, so you will learn the API from the website rather than from the repository's front page. The homepage in the repository metadata is the same plottablejs.org site.
Contributing runs through yarn build, Playwright and visual quicktests
The development steps are specific. Clone the repo, use the Node.js version in `.nvmrc`, then install and build:
yarn install
yarn buildBrowser tests use Playwright. The README asks you to install the browser that `yarn test` drives:
yarn playwright install chromiumThen `yarn start` brings up a server pointed at http://localhost:9999 and begins compiling the TypeScript. Open `http://localhost:9999/quicktests/` and pick a directory to look at the visual tests. The `quicktests/` folder in the repository is where those live.
The package.json scripts show how `yarn build` is put together: `build` runs `lint:tslint` and `build:tsc` in parallel, then `build:webpack`. The `test` script calls `grunt test-local`, and `test:ci` calls `grunt test-ci`. Grunt is still the task runner behind testing.
The toolchain behind it is older than the runtime it targets
The package.json devDependencies show what builds this library. They include `grunt` at `~0.4.5`, `awesome-typescript-loader` at `^3.4.1`, `chai` at `2.0.0`, and type packages for `mocha` at `^2.2.27` and `sinon` at `^1.16.36`. The repository root holds `Gruntfile.js`, `.jscsrc`, `tslint.json` and `.eslintrc`, so it carries several lint configurations side by side, and the lint script runs both `lint:tslint` and `lint:eslint`.
This matters if you plan to contribute. The runtime requirements are modern (Node.js 22.12, TypeScript 5, D3 7), while the listed dev dependencies are from earlier years. The README does not say whether those tool versions are being replaced. Expect to work inside that mixed setup rather than a freshly modernised one.
Contributors also get a process step: write the code, add tests, add quicktests too, run `yarn test` until it completes with no warnings or failures, and sign the CLA when the bot asks on your pull request.
Plottable is for people who already read D3 code
The README presents Plottable as a layer over D3, which is why its prerequisites include D3 7 and why the examples assume you want to compose. It was developed at Palantir Technologies and is used there, per the README. The license is MIT.
Things the README does not cover: server-side rendering, accessibility of generated charts, performance with large data sets, and a migration path off the 3.x line. If any of those decide your choice, the README gives you nothing to base the decision on and you need to test it yourself.
Help is offered through GitHub issues and a Gitter room, and the README adds that if you are confused, it is the maintainers' fault and not yours. That is an invitation to file an issue, and a reasonable first step when the Table and Component model does not click.
Editorial conclusion
Use Plottable if you already know D3 and want axes, gridlines and plots that you place yourself in a Table, accepting that a missing feature means writing a new Component. Skip it if you want a chart from one configuration object. Before adopting 4.0.0, check that your stack meets D3 7, ES2015 browsers, Node.js 22.12 for CommonJS and TypeScript 5, and confirm what changed since 3.13.0, because the README carries upgrade notes only up to v3.0.0.
Frequently asked questions
What is Plottable?
Plottable is a library of chart components for websites, built on D3.js. The README says it is not a charting library but a library of chart components, like plots, gridlines and axes.
Which D3 version does Plottable 4.0.0 need?
D3 7, specifically d3@^7.9.0, plus a browser with ES2015 support. CommonJS users need Node.js 22.12 or later, and TypeScript users need TypeScript 5 or later.
How do I install Plottable?
Run npm install --save plottable or yarn add plottable. A jsdelivr link is also listed, but it points at the plottable@3 build.
Is Plottable the same as the Python plotting libraries?
No. This repository is a TypeScript library for website charts on top of D3.js, distributed as ES5 JavaScript. It has nothing to do with Python or Matplotlib.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/palantir-plottable)Star history chart for your README
[](https://hysenlabs.com/projects/palantir-plottable)Was this useful?