Generate standalone SVG and PNG files from the command line using d3