Lesson 2: Data Aggregation and Visualization
September 2, 2026
Review:
- Attendance
- Course Intro
- Syllabus revision (Data camp=10%, 3 Exams @ 30% each = 90%)
- DataCamp
Presentation:
- Histograms
- Visualizing Data Distributions with Histograms
- Demonstrate Histogram construction in Sheets
- Scatterplots
- Visualizing Bivariate Relationships with Scatterplots
- Demonstrate Scatterplot construction in Sheets
- Pivot Tables
- Demonstrate Pivot Tables using US County Dataset in Sheets
Activity:
- Download and Pivot
- Download US County Dataset
- Create a Pivot Table
- 49 rows and 4 columns
- Each row corresponds to 48 States and Washington DC (Alaska and Hawaii are excluded)
- Each column corresponds to four variables: Population, GDP, Median HH Income, and Poverty %
- Calculate the aggregate “Sum” for Population and GDP by State
- Calculate the aggregate “Average” for Median HH Income and Poverty % by State
- Visualize State Data
- Create graphs (use Insert > Chart)
- Use the resulting State aggregation (from the Pivot table)
- Make four (4) histograms
- (1) Population
- (2) GDP
- (3) Median HH Income
- (4) Poverty %
- Make four (4) scatter plots:
- (1) Population (x) vs GDP (y)
- (2) GDP (x) vs Poverty % (y)
- (3) GDP (x) vs Median HH Income (y)
- (4) Median HH Income (x) vs Poverty % (y)
- All graphs must have axis labels
- All scatter plots must include a “Trendline” along with labels for the “Equation” and “R^2 value”
- Create graphs (use Insert > Chart)
Assignment:
- Continue working on your DataCamp assignment