Bus boardings in Madison

Using the mapdeck package to visualize Metro Transit bus boardings in Madison (WI)

Harald Kliems https://haraldkliems.netlify.app/
2020-10-18

Madison Metro publishes data boardings per stop on the City of Madison Open Data Portal. The data is also made available on what colloquially is known as the “red dot map” – which isn’t the most appealing visualization format:

The “red dot map.” Screenshot from City of Madison Open Data Portal

Here I’m using the mapdeck package to create an interactive 3D map visualization of the data, augmented with bus routes and a population density heatmap.

Boardings only

Zoom in to see the data. Hover over the columns for more information. Right-click and drag to change the view angle and orientation.

The map really shows how much ridership is driven by the UW Campus and downtown. Also very visible are the four transfer points.

Add Metro routes

I’m using the Metro GTFS data to add all routes to the map. You will notice that there are stops on the map that aren’t on any route. This is because the boardings data is from just before the pandemic started, whereas the routes are current and include the ones that have been cut.

Add population density

Density is one important condition for high transit ridership. So let’s add a heatmap with population density as a layer. Job density would be another interesting variable to look at, but I’ll leave that for another day.

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-SA 4.0. Source code is available at https://github.com/vgXhc/metro_boardings, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Kliems (2020, Oct. 18). Harald Kliems: Bus boardings in Madison. Retrieved from https://haraldkliems.netlify.app/posts/bus-boardings-in-madison/

BibTeX citation

@misc{kliems2020bus,
  author = {Kliems, Harald},
  title = {Harald Kliems: Bus boardings in Madison},
  url = {https://haraldkliems.netlify.app/posts/bus-boardings-in-madison/},
  year = {2020}
}