Skip to content

Create choropleth map based on GeoJSON file #326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TheLeonKing opened this issue Mar 12, 2016 · 1 comment
Closed

Create choropleth map based on GeoJSON file #326

TheLeonKing opened this issue Mar 12, 2016 · 1 comment

Comments

@TheLeonKing
Copy link

I've found a GeoJSON file containing all cities in The Netherlands. I'm now trying to plot this map using Plotly, but I can't seem to figure out how to do this. I know it's possible to set the scope on a specific country, but Plotly's default map doesn't seem to contain the individual cities for each country.

I'm working based on this JSFiddle I would elsewhere on Stackoverflow. I know the data is not relevant for The Netherlands, but that doesn't matter at this moment: all I want is a map that looks somewhat like this (but I like to do it in Plotly, since Plotly's supported in Python).

Any help is greatly appreciated!

@etpinard
Copy link
Contributor

plotly.js maps don't support GeoJSON data nor city-level basemaps at the moment.

Supporting the above features is in our plans. But, don't expect them to come online in the short-term.

For your purposes, I'd recommend using the folium library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants