markmarkoh/datamaps

Districts for India

sarvy26 opened this issue · 0 comments

How can I plot districts instead of states for India map? I tried to replace the state topojson with https://github.com/mkiitkgp/India-map-D3/blob/master/data/full_data-1.json but I am getting below error:

Uncaught TypeError: Cannot read property 'india' of undefined
at Datamap.drawSubunits (datamaps.ind.js:171)
at draw (datamaps.ind.js:657)
at datamaps.ind.js:632
at Object. (d3.min.js:1)
at Object.t (d3.min.js:1)
at XMLHttpRequest.u (d3.min.js:1)

Where can I get compatible district level topojson for India?