Skip to content
📊 A library of modular chart components built on D3
TypeScript JavaScript Other
Branch: develop
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add tag filter to all jobs so that they will build. (#3490) Mar 26, 2019
.github Create ISSUE_TEMPLATE.md (#3365) Jun 12, 2017
quicktests True log scale, resolves #3348 (#3475) Feb 4, 2019
scripts Add authorization script for when the token is ready (#3488) Mar 26, 2019
src Update extents after setBounds (#3552) Jun 12, 2020
test fix issue where pie stroke disappear after dataset update (#3494) Jun 1, 2020
webpackConfig Fix CDN links (#3454) Mar 30, 2018
.editorconfig Release/3.5.2 (#3398) Aug 30, 2017
.eslintrc Routable Quicktests (#3199) Feb 2, 2017
.gitattributes Force git to recognize .d.ts files as text Oct 22, 2015
.gitignore Add authorization script for when the token is ready (#3488) Mar 26, 2019
.jscsrc adding EOF newline Jun 17, 2015
.npmignore Prep Release 3.8.5 (#3489) Mar 26, 2019
.sublimets sublime tsc compiling working Jun 3, 2014
Gruntfile.js Convert circle config to v2 (#3486) Mar 25, 2019
LICENSE update copyright on licenses (#3154) Jan 11, 2017
README.md Fix CDN links (#3454) Mar 30, 2018
license_header.txt add license header to source files (#3206) Feb 8, 2017
package.json Bump plottable to 3.9.0 for release (#3553) Jun 12, 2020
plottable.css remove font-family declarations from plottable.css (#3447) Mar 8, 2018
tsconfig.json Use tslib & importHelpers to improve bundle sizes further (#3424) Dec 5, 2017
tslint.json chore: upgrade to tslint 5.18.0 (#3527) Aug 2, 2019
webpack.config.js Build plottable.min.js with webpack (#3318) Mar 30, 2017
yarn.lock Explicitly update @types/d3-shape (#3548) Jun 1, 2020

README.md

Plottable Builds Join the chat at https://gitter.im/palantir/plottable

Plottable is a library of chart components for creating flexible, custom charts for websites. It is built on top of D3.js and provides higher-level pieces, like plots, gridlines, and axes. As such, it's easier to quickly build charts than with D3, and the charts are much more flexible than standard-template charts provided by charting libraries. You can think of Plottable as a "D3 for Charts" — it is not a charting library but rather a library of chart components. Check out examples of Plottable on our website's examples page.

Philosophy

Plottable's core philosophy is "Composition over Configuration", so a lot of the API flexibility is in choosing which Components to use, and how to arrange them in Tables, rather than setting high-level properties on the charts. If you find you need a feature that doesn't exist, consider writing a new Component that implements the functionality. This way, you can get your custom functionality and still benefit from the rest of the library.

Plottable is used and developed at Palantir Technologies. It's developed in TypeScript and distributed in ES5 JavaScript.

Quick Start

Upgrading to v1.0.0

If you are upgrading from a pre-v1.0.0 version of Plottable to v1.0.0 or later, please use the Upgrade Guide on the wiki.

Upgrading to v2.0.0

Check out the full list of changes between v1.16.2 and v2.0.0.

Upgrading to v3.0.0

Check out the full list of changes between v2.9.0 and v3.0.0.

We Want To Help!

If you run into any problems using Plottable, please let us know. We want Plottable to be easy-to-use, so if you are getting confused, it is our fault, not yours. Create an issue and we'll be happy to help you out, or drop by our Gitter room.

Development

  • Clone the repo
  • Install local dependencies yarn install
  • Run yarn build to build the dependencies
  • Run yarn start and it will spin up a server (pointed at http://localhost:9999) and begin compiling the typescript code
  • Navigate to http://localhost:9999/quicktests/ and choose a directory to view visual tests

Contributing

  • Write your code
  • Add tests for new functionality, and please add some quicktests too
  • Run yarn test and verify it completes with no warnings or failures
  • Submit a pull request and sign the CLA when prompted by our bot
You can’t perform that action at this time.