D3 chart should use main index

readme fixes