get the d3 charts working