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.
Build:
npm run build
Develop:
npm run dev