Can you share the code? Most likely, you're referencing the wrong object 
property from the array object that is returned by d3.json()

On Friday, September 16, 2016 at 1:48:40 AM UTC-4, Manas Sharma wrote:
> Hello,
> I have downloaded the districts shapefile of India from the datameet maps 
> repo. I then converted it into GeoJson using ogr2ogr and then into topojson 
> using topojson.
> The problem I am facing is that when i try to bind it using D3 to the 
> Mercator projection, the topojson doesn't work while the geojson works. I 
> did try debugging by comparing the original geojson features  and the 
> feature array after the conversion from topojson to geojson feature 
> collection in the code. It has a few features missing from the origninal 
> one. Though I doubt that is the cause of the error.
> I am getting the error-
> d3.js:7651 Error: <path> attribute d: Expected number, 
> "MNaN,NaNLNaN,NaNL…".
>  I suspect this has something to do with projections but am not sure what. 
> Can someone help?
> Thanks

Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to