d3 on server side