A simple exploration of D3 (js) charting