Lecture 24 – Visualizing Categorical Variables

Data 6, Summer 2021

Bar charts

Example 1: Top 10 songs on Spotify

You can download an up-to-date copy of this data here.

Example 2: Artists with the most songs in the Spotify Top 200 right now

Example 3: Number of students at the 15 largest universities (in our dataset)

Quick Check 1

Disclaimer

Grouped bar charts

We can sort by GDP PPP, too:

Another example:

Customization

Quick Check 2