density-plot

1.0.4 • Public • Published

density-plot

A simple density plot / 2D histogram / heatmap.

Uses D3 for axes and color scales as well as d3-scale-chromatic.

Because the plot uses 2D canvas pixels as opposed to svg rectangles this implementation is likely better suited for large plots with tens of thousands of data points.

Node:

npm install density-plot

Browser:

In the dist folder is minified version of the code built for loading into the browser which uses the global variable "densityPlot".

See example folder for usage or this plunkr.

screen shot 2017-12-18 at 5 27 55 pm

Build:

npm run build

Develop:

npm run dev

Package Sidebar

Install

npm i density-plot

Weekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • loot