More code

First stab at d3