block by shancarter f877b05acb3bafb9d5844f2342344385

Using d3 to generate canvas png in node.js

In order to generate a raster image with d3 in node.js, you need a canvas context. This is a bare bones example of using a node-based canvas for said context.

index.js