d3 is a pain in the butt