Added a reference to d3 in the layout.