[Python] Is there a way to add Puerto Rico to a US chloropleth graph with plotly express?...

Discussão em 'Python' iniciado por Stack, Julho 8, 2025.

  1. Stack

    Stack Membro Participativo

    I have made a US chloropleth graph with plotly express, but I am not seeing any option for adding Puerto Rico. I have this geoJSON file that includes Puerto Rico. Does anyone know how to do this?

    Here are the first few lines of the geoJSON file:

    { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "GEO_ID": "0400000US04", "STATE": "04", "NAME": "Arizona", "LSAD": "", "CENSUSAREA": 113594.084000 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -112.538593, 37.000674 ], [ -112.534545, 37.000684 ], [ -112.368946, 37.001125 ], [ -112.357690, 37.

    Continue reading...

Compartilhe esta Página