Much more simple is to use shapefiles, instead of topojson file, for the counties of an US state or other country.
This is an example of choropleth from a shapefile: https://plot.ly/~empet/15052.
Hello, thank you for your examples. Iām interested in use shapefiles to create bivariate choropleth map in ArcMAP. Unfortunately, your link with shapefile does not exist. Is there any possibility to get a new one? Regards.
@Sylwia I removed that notebook when Plotly Chroplethmapbox was introduced. Meanwhile another user asked for it and I reposted it here https://plot.ly/~empet/15354 You should adapt the code in this notebook to get a bivariate choropleth.
@empet Thank you for your response. I just started with python. Could you put the sample code to generate bivariate choropleth map directly using shapefile? It would help me a lot. Regards.
Hi, I was also looking for ways to create bivariate choropleth maps and I stumbled upon the example @empet provided in this thread. That helped me a lot, thank you.
Based on the example, i built a notebook reproducing the Texas example and adding another one. You can find it on Kaggle and on GitHub:
I am posting this here in case somebody else is searching for the same thing. Iām happy to get feedback on it.