Best way to efficiently plot large geojson and scatter_geo?

Hey all, I’m having a hard time choosing the plots to construct an efficient way of plotting the following functionality.

  • Scatter plot across the United States with ~500 points (currently using px.scatter_geo)
  • geojson of all of the zipcodes (tens of thousands) in the United states as a background layer
    • This doesn’t have to be interactive
    • It would be nice if I could change the colors of the zipcodes based on a value

I tried adding the geojson as an argument to scatter_geo, but it crashes when I run it. The geojson file is very large at 4gb and was converted from a shapefile provided by the Census Bureau here.

Any help would be appreciated!