Python Plotly Choropleth Maps |
HTML-код
- Опубликовано: 8 фев 2025
- In this video, we're going to use the merged dataframe we created in the previous video ( • How to Do a vLookup in... ) to create this #choropleth map. We merged the FIPS data for all the counties (aka Parish's) in Louisiana and merged it with the US Census population data. We then used #plotly to make a choropleth map using that merged dataframe.
Watch my entire Plotly Dash playlist here: • Dash by Plotly
For the #geojson data of all the US counties, use this github data: raw.githubuser...
For more information on the builtin Plotly colorscales: plotly.com/pyt...
Thanks, Brandon for sharing this video. I have a geojson file for cities in Ontario, Canada but choropleth does not show anything. Wondering if you have any video about dealing with geojson files.
I think you have to expand the scope to north america. So, scope='north america'