CIS 241, Dr. Ladd
spacebar
to go to the next slide, esc
/menu to navigate
Look at the taxis
data set. What visualization type would you use to compare the counts of each destination Borough? Which variables would you use, and what kind of variables are they? Jot down your answers.
Look at the taxis
data again. What visualization type would you use to compare the distribution of tips among different taxi colors? Which variables would you use, and what kind of variables are they? Jot down your answers.
More on these viz types in future lessons!
Altair
Use the Altair Cheatsheet to create a plot comparing the high temperature in Seattle to the wind speed using the seattle_weather
DataFrame. Then create the same plot but show color as the type of weather.
If this is hard to read, you might also show the types of weather as separate columns.
Create a plot showing the distribution of precipitation in the seattle_weather
dataset. Give the plot a title and labels for both axes. Then show the distributions according to each pickup borough, in different columns. Finally, change the size or number of the bins in each distribution to show more detail (narrower bars).
Hint: you may need to use the Altair User Guide as well as the cheatsheet to accomplish this!