I have income data that I need to match on a German map.
My data contains zip codes corresponding to latitude and longitude, as well as the value of income corresponding to this zip code, something like this -
data = {'35447': {50.6022608,8.861908900000001,434224.45€}}
I use the Python library plotly
, which helps to create Choropleth / Point Maps. I referred to Pandas Choropleth Maps , which explains how to use plotly
, but for the USA. In the example, setting
locationmode = 'USA-states'
locations = 'AL'# AL for Alabama, AZ for Arizona
we could create Choropleth maps for the USA. Similarly, setting
locationmode = 'USA-states'
lon = -74.25908989999999
lat = 40.4773991
we could create Point Maps for the USA.
:. plotly
Choropleth/Point ? , plotly
. pyGeoDb , Python 3. +
, - Choropleth , plotly
, .