uses d3.js to render svg charts on the server-side