Referenced from lesson Displaying Categorical Data
Use Pyret to make the following displays:
-
A
pie-chart
showing thespecies
of animals from the shelter. -
A
bar-chart
showing thesex
of animals from the shelter. -
A
pie-chart
showing the how many animals are fixed or not. -
A
bar-chart
showing the how many animals are young or not. -
A
histogram
of the number ofpounds
that animals weigh. -
A
box-plot
of the number ofweeks
that it takes animals to be adopted. -
A
histogram
of the number ofweeks
that it takes animals be adopted. -
A
scatter-plot
, using the animalsname
as the labels,pounds
as the x-axis, andage
as the y-axis, for all the animals from the shelter. -
A
scatter-plot
, using the animalsspecies
as the labels,age
as the x-axis, andweeks
as the y-axis, for all the animals from the shelter. -
A
scatter-plot
, using the animalsname
as the labels,pounds
as the x-axis, andweeks
as the y-axis, for all the animals from the shelter. -
(Challenge) An
lr-plot
, using the animalsspecies
as the labels,pounds
as the x-axis, andweeks
as the y-axis, for all the animals from the shelter.
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). Bootstrap:Data Science by Emmanuel Schanzer, Nancy Pfenning, Emma Youndtsmith, Jennifer Poole, Shriram Krishnamurthi, Joe Politz, Ben Lerner, Flannery Denny, and Dorai Sitaram with help from Eric Allatta and Joy Straub is licensed under a Creative Commons 4.0 Unported License. Based on a work at www.BootstrapWorld.org. Permissions beyond the scope of this license may be available by contacting schanzer@BootstrapWorld.org.