Made a start on modular d3.