Use D3 to render a chart