Name: d3node-output
Owner: D3-Node
Description: simple way to export d3-node instance to png/jpg, svg & html files
Created: 2017-03-12 03:19:03.0
Updated: 2017-10-25 06:35:51.0
Pushed: 2017-08-28 18:19:10.0
Size: 16
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Used in examples to export a d3node instance to html, svg, & png files
install d3node-output
t output = require('d3node-output')
t voronoi = require('d3node-voronoi');
t data = new Array(99);
rop your png to a custom size
efaults to the size of your svg if not defined
t options = {width: 100, height: 200};
utput files to /dist dir
ut('./dist/myVoronoi', voronoi(data), options, callback);
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature