A quick web tool that suggests World Cup games to watch in your community based on foreign-born populations. This combines US Census data, with a match schedule to suggest the best games to watch based on the population of people near where you live.
Updating this to the latest World Cup is a series of automated and manual steps:
- Open up the notebook at
census-data/data-generation.pynb
and follow those instructions - Copy-and-paste the data in
census-data/country-recs-json
todata/recommendations.json
- Open the county-map observable notebook and update the
county-populaton-data-tidy.csv
file - Go through each country alpha-3 to generate and save the map to
images/map-raw-pop
- Update
data/teams.js
with all the team names and metadata you find - Now you're ready to write the story and build the interactive you want to
This is built to deploy to a flat HTML server. I deployed it via GitHub Pages for the free hosting.