Plotly Choropleth Mapping:

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 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’,
scope=‘usa’, color_continuous_scale=“Viridis”)