All examples By author By category About

HarryStevens

India Mercator

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.