A Tale of Two Data Sets...
In modules 1, 2, and 3, we will work with two different data sets. This page will give you some information about them. We will use a dataset of life expectancies and a data set of census information.
For the assignments in Modules 1, 2 and 3, we will use two data sets: one of life expectancies and one with census information by county. We’ve used these in the past, and they’ve led to good assignments. They are big enough to be non-trivial for design, but small enough that implementation isn’t hard. And they are on topics that are straightforward enough that everyone can be a domain expert.
For Module 1 (Design Exercise 1), you will sketch from both data sets. You won’t need to actually look at the numbers (and you shouldn’t write programs to look at them). We are giving you access to the data so that you can see what the form of the data is. If you want to peek at the data (using some tools you are familiar with), that’s OK, but not required (or even recommended).
For Module 2 (Design Warmup 2, Design Exercise 2), you will work with the Life Expectancy data set. Here you will actually implement visualizations - either with programs or tools.
For Module 3 (Design Warmup 3, Design Exercise 3), you will work with the Census data set, using a new, expanded version (see below). Again, you will produce visualizations from the data.
Some comments on class mechanics and data sets
For these assignments, we are forcing you to use our data sets. Hopefully, they are “general interest” enough that you are interested.
We chose these data sets because they are simple enough to work for class, but complex enough to be interesting. They are (intentionally) problematic in several ways (we don’t want to make things too easy). We are intentionally giving you (slightly) messy data sets.
Last year, we tried using 2 data sets on many different assignments, but it led to a bit of “data set fatigue”. This year, we will expose you to both data sets in Module 1, but then use one data set in each of the later modules.
We have intentionally chosen one data set in “wide” format and one in “tall” format (the new census data comes in both).
To make access easy, we are hosting the data sets on GitHub. The repo is: https://github.com/uwgraphics/765Data/
If you aren’t a GitHub user, we will provide direct links to the files you need.
Life Expectancy Data
I was inspired to use this data set by colleagues at the University of Vienna who used it for an assignment in their class.
There are two versions of this data:
- World Bank Data - This is only 1960 to the present, but has almost all countries for almost all years, and it is broken down by sex.
- Our World in Data - This data set has varying historic data at irregular intervals (there is data for some countries over hundreds of years!), and almost all (current) countries from about 1950-present.
See the GitHub Repo: https://github.com/uwgraphics/765Data/ for the data and a README.
Here is a walkthrough of me looking at the data in Tableau (I will probably do this in class again): Life Expectancy Walkthrough in Tableau. Even if you don’t plan to use Tableau, this can give you some ideas about the data, and about the process of exploring it.
Census Data
This data set has economic, demographic, and political data for every county in the US, 2000–2024: 50 variables covering population and migration, age, race and ethnicity, poverty and income, employment, education, housing, and presidential elections. It also has state and national totals, so you can work at several levels of aggregation.
For Module 3, use the new version: the census-composite folder in the 765Data repo (if you don’t have experience working with GitHub, please ask for help). It comes in several shapes (tall and wide, all years or election years only, county or state), so pick the one that suits your tools.
Read its README first: it explains the variables, which years each one covers, and how to combine counties correctly (counts add up; rates and percentages need weights; medians can’t be combined).
Two practical tips:
- Read the
fipscolumn as text, not a number: the leading zeros matter (01001is a county;1001isn’t). In Tableau or Excel, set the column type to text/string. - The smallest counties have under 100 residents, so their rates jump around. Consider filtering or weighting by population.
The older USDA-based census files (in the repo’s census-usda folder) are last year’s version, which we used for sketching in Module 1. You don’t need them.
If you want to see an example of trying to work with census data in Tableau, check out my Tableau tutorial at: Tableau Tutorial for CS765: Getting Started with Census Data. It uses last year’s data and assignment, so the column names differ, but it can still give you a sense of the process, even if you don’t plan on using Tableau.
Final Thoughts…
Working with two datasets with different challenges will force you to think about how different tools work with data in different forms. We urge you to try using different tools over the course of the assignments. The assignments will force you to work with both data sets.
GenAI Disclosure:
I asked Gemini to write the difference between wide and tall data. It did a really nice job.
The new census data set (census-composite, October 2026) was built by Claude under the direction of course staff: Claude found the sources, wrote the scripts to combine them, and wrote the documentation. Claude also helped update this page.