Skip to content

Instantly share code, notes, and snippets.

@ejfox
Created June 11, 2017 21:21
Show Gist options
  • Save ejfox/03ee0fd6432f989680dcff53885b28ec to your computer and use it in GitHub Desktop.
Save ejfox/03ee0fd6432f989680dcff53885b28ec to your computer and use it in GitHub Desktop.
d3Node = require 'd3-node'
d3n = new d3Node()
d3n.createSVG(10,20).append('rect')
svgString = d3n.svgString();
console.log svgString
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment