markmarkoh / datamaps

Customizable SVG map visualizations for the web in a single Javascript file using D3.js
http://datamaps.github.io
MIT License
3.78k stars 1.01k forks source link

TypeError: undefined is not an object (evaluating 'n.geo[b.projection]') #359

Closed Caroldm closed 7 years ago

Caroldm commented 7 years ago

Hi,

I tried using datamaps. But I'm getting the error: TypeError: undefined is not an object (evaluating 'n.geo[b.projection]') Any ideas why this is happening?

Thank you

andresteves commented 6 years ago

Would love to know what is causing this error. Anyone?

ypicard commented 6 years ago

Switching from d3v4 to d3v3 worked for me, thanks to this post