Updates code to include d3 chart

Still needs refining, but it contains the main elements we'll be looking
to demonstrate.