Plotly Choropleth Mapping:

Hello,
I’m trying to build a choropleth map of the US at a zip-code level. Using Florida as an example, I have a csv file of all the zip codes in the state and an associated value for them to creat, and a json file with all the geojson data for those zipcodes. When I limit the number of zipcodes to just a couple, the map works perfectly and the tiles are visible. When I load the choropleth map for all zip codes in Florida, only a few tiles are visible. The rest are all still there, you can hover over the them and it will display their information, the tiles themselves are just not visible/loading. Has anyone else ran into this issue? Is it just a matter of trying to load too much data?

(Attached image below is a picture of the output, a choropleth map where the data is loaded and you can hover over the zip-code tiles for the data, the tiles themselves are just not visible.)

import json
import pandas as pd
import plotly.express as px

df = pd.read_csv(‘current_state_csv.csv’) ← csv file with all zipcodes and data

data = open(‘zcta_geojson_copy.json’) ← json file with all geojson data
zips = json.load(data)

fig = px.choropleth(df, geojson=zips, color=‘num’, locations=‘zip’,
featureidkey=‘properties.ZCTA5CE20’,
scope=‘usa’, color_continuous_scale=“Viridis”)
fig.update_layout(margin={“r”:0,“t”:0,“l”:0,“b”:0})
fig.show()