Data Visualization

Data Structures

Overview

Teaching: 5 min
Exercises: 5 min
Questions
  • What are data variables and categories?

  • What are data values and replicates?

  • What is the difference between absolute and relative values?

Objectives
  • To identify data structure features in Gapminder data

  • To be familiar with differentiating data structures for choosing a good chart

Data Organization Challenge

What years are represented in the Gapminder data?

Answer

1952-2007

Which variable is more appropriate to group by? Why?

A. country
B. gdpPercap

Answer

A. country, because it is a ‘categorical’ variable

Key Points