An example that shows how to use the Nightmare headless browser to capture web-based visualizations under Node.js.
Example code here accompanies my article on CSS tricks which is an extract from my book Data Wrangling with JavaScript.
To keep up with my work please follow @ashleydavis75 on Twitter or sign up to my email list on my blog The Data Wrangler.
basic-visualization/
This sub-directory contains a simple web app swith an example chart using C3.
capture-visualization/
Working Node.js example that uses headless browser Nightmare/Electron to capture a browser-based visualization (chart) to a PNG image file.
These examples are an extract from my book Data Wrangling with JavaScript.