Search⌘ K
AI Features

Exercise: Slopegraph and Dumbbell Chart

Explore how to represent datasets using Altair by creating slopegraphs and dumbbell charts. Understand data preparation steps and learn to visualize changes between points effectively, improving your data storytelling skills.

Consider the following dataset:

Fruit Quantities by Year

Fruit

Quantity

Year

Orange

10

2020

Apple

3

2020

Watermelon

8

2020

Orange

15

2021

Apple

8

2021

Watermelon

5

2021

In the following code terminal, represent the dataset through a ...