Skip to content

andrewluetgers/density-plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a simple density plot / 2D histogram / heat-map

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published