D3 chart with json