# Mapbox Choropleth Maps Example Broken

**URL:** <https://community.plotly.com/t/mapbox-choropleth-maps-example-broken/11866>\
**Category:** 📊 Plotly Python\
**Created:** [July 18, 2018, 9:35am UTC](https://community.plotly.com/t/mapbox-choropleth-maps-example-broken/11866 "2018-07-18T09:35:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxwell8888](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@maxwell8888](https://community.plotly.com/u/maxwell8888)\
**Post date:** [July 18, 2018, 9:35am UTC](https://community.plotly.com/t/mapbox-choropleth-maps-example-broken/11866/1 "2018-07-18T09:35:47Z")

</div>

Hi  
I am trying to reproduce the Florida voter registration choropleth example. However, I am really struggling to make it work since the voter registration URL has changed, and the code is Python 2 where I am using Python 3. Please could somebody update the example to use and updated URL and Python 3. Thanks!

> **[Mapbox Choropleth Maps](https://plot.ly/python/mapbox-county-choropleth/)**
>
> How to make a Mapbox Choropleth Map of the Florida Counties in Python with Plotly.

---

<div class="post-metadata">

**Author:** ![empet](https://avatars.discourse-cdn.com/v4/letter/e/977dab/32.png) [@empet](https://community.plotly.com/u/empet)\
**Post date:** [July 18, 2018, 11:44am UTC](https://community.plotly.com/t/mapbox-choropleth-maps-example-broken/11866/2 "2018-07-18T11:44:40Z")

</div>

@maxwell8888 This a jupyter notebook that generates a mapbox choropleth with Plotly 3.0.0:  
[https://plot.ly/~empet/14692](https://plot.ly/~empet/14692).

---

<div class="post-metadata">

**Author:** ![maxwell8888](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@maxwell8888](https://community.plotly.com/u/maxwell8888)\
**Post date:** [July 18, 2018, 12:22pm UTC](https://community.plotly.com/t/mapbox-choropleth-maps-example-broken/11866/3 "2018-07-18T12:22:17Z")

</div>

Thanks @empet. I have actually come across this before. I wanted to do the Florida voters example above first since it is simpler and I am a beginner.

---

<div class="post-metadata">

**Author:** ![empet](https://avatars.discourse-cdn.com/v4/letter/e/977dab/32.png) [@empet](https://community.plotly.com/u/empet)\
**Post date:** [July 18, 2018, 7:50pm UTC](https://community.plotly.com/t/mapbox-choropleth-maps-example-broken/11866/4 "2018-07-18T19:50:58Z")

</div>

@maxwell8888 Here is the mapbox choropleth for Florida counties, that works with Python 3.6.4 and Plotly 3.0.2:  
[https://plot.ly/~empet/14919](https://plot.ly/~empet/14919) .

---

<div class="post-metadata">

**Author:** ![maxwell8888](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@maxwell8888](https://community.plotly.com/u/maxwell8888)\
**Post date:** [July 19, 2018, 6:37am UTC](https://community.plotly.com/t/mapbox-choropleth-maps-example-broken/11866/5 "2018-07-19T06:37:30Z")

</div>

@empet that’s great, thank you!
