block by HarryStevens c9cf86eba753ba8650fb466e37d538d2

India Mercator

Full Screen

Draw a map of India with D3.js, Topojson, and five simple functions:

This map uses a Mercator projection, and the colors are generated from d3.schemeCategory20. For a tutorial on converting Geojson to Topojson and for finding the coordinates of major cities, see this tutorial.

index.html