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. (we might create a new version). 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.
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 a variety of data about the US, broken down by county. It has information such as population, unemployment numbers, and education levels. It covers a number of years, but for different variables, the years covered are different.
The US Department of Agriculture (USDA) provides county level aggregation of population data aggregated at the county level. They gather education data, income data, poverty data, and population data. Later in the semester, we might gather more detailed data from other sources. (We will also provide the data at the state level).
The USDA provides this data as 4 separate sheets, but together, they provide a very rich and complex data set full of stories. To help you get started faster (and focus on visualization, not data cleaning), the Cat (the 2025/2026 TA) has joined the data into one “convenient” large file.
This year, please get the data (and readme) from the GitHub Repo: https://github.com/uwgraphics/765Data/ (if you don’t have experience working with GitHub, please ask for help).
If you want to see an example of trying to work with this data in Tableau, check out my Tableau tutorial at: Tableau Tutorial for CS765: Getting Started with Census Data (although, this was last year’s data and assignment). Again, you might want to look at this as a way to get a sense of the data, 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.