{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/326","repository_url":"https://api.github.com/repos/plotly/plotly.js","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/326/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/326/events","html_url":"https://github.com/plotly/plotly.js/issues/326","id":140408491,"number":326,"title":"Create choropleth map based on GeoJSON file","user":{"login":"TheLeonKing","id":14051443,"avatar_url":"https://avatars.githubusercontent.com/u/14051443?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLeonKing","html_url":"https://github.com/TheLeonKing","followers_url":"https://api.github.com/users/TheLeonKing/followers","following_url":"https://api.github.com/users/TheLeonKing/following{/other_user}","gists_url":"https://api.github.com/users/TheLeonKing/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLeonKing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLeonKing/subscriptions","organizations_url":"https://api.github.com/users/TheLeonKing/orgs","repos_url":"https://api.github.com/users/TheLeonKing/repos","events_url":"https://api.github.com/users/TheLeonKing/events{/privacy}","received_events_url":"https://api.github.com/users/TheLeonKing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-12T19:05:46Z","updated_at":"2016-03-14T13:47:11Z","closed_at":"2016-03-14T13:47:11Z","body":"I've found a [GeoJSON file][1] 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.\r\n\r\nI'm working based on [this JSFiddle][2] 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][3] (but I like to do it in Plotly, since Plotly's supported in Python).\r\n\r\nAny help is greatly appreciated!\r\n\r\n  [1]: http://code.highcharts.com/mapdata/countries/nl/nl-all-all.geo.json\r\n  [2]: http://codepen.io/plotly/pen/EVrRxR\r\n  [3]: http://jsfiddle.net/gh/get/jquery/1.11.0/highslide-software/highcharts.com/tree/master/samples/mapdata/countries/nl/nl-all-all\r\n"},"comment":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/comments/196316989","html_url":"https://github.com/plotly/plotly.js/issues/326#issuecomment-196316989","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/326","id":196316989,"user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T13:47:11Z","updated_at":"2016-03-14T13:47:11Z","body":"plotly.js maps don't support GeoJSON data nor city-level basemaps at the moment. \r\n\r\nSupporting the above features is in our plans. But, don't expect them to come online in the short-term.\r\n\r\nFor your purposes, I'd recommend using the [folium](https://github.com/python-visualization/folium) library."}}