d3.js powered drawing application