
Click here to view the interactive version of the graphic!
I could stare at maps for hours. I don’t think there is anything more elegant that conveys more information than a map. I’ve long had a fascination for geography and cartography.
This was originally inspired by Reddit’s r/peopleliveincities, which contains maps intended to show certain statistics, but in reality just show that those stats are associated with high population densities.
On a technical note, I used a very cool Python library called Streamlit to make the map interactive and host the widget. It’s amazing to me that in 2021 it’s possible to make a simple web app with less than 50 lines of code. This widget and graphic also heavily leverages a shapefile generated by NHGRANIT, New Hampshire’s GIS clearinghouse. In theory, maps like this could be generated with any state, but most states only publish data on a county-level. Kudos to NHGRANIT for publishing a shapefile that works well out of the box with Geopandas.
