Referenced from lesson Displaying Categorical Data

Use Pyret to make the following displays:

  1. A pie-chart showing the species of animals from the shelter.

  2. A bar-chart showing the sex of animals from the shelter.

  3. A pie-chart showing the how many animals are fixed or not.

  4. A bar-chart showing the how many animals are young or not.

  5. A histogram of the number of pounds that animals weigh.

  6. A box-plot of the number of weeks that it takes animals to be adopted.

  7. A histogram of the number of weeks that it takes animals be adopted.

  8. A scatter-plot, using the animals name as the labels, pounds as the x-axis, and age as the y-axis, for all the animals from the shelter.

  9. A scatter-plot, using the animals species as the labels, age as the x-axis, and weeks as the y-axis, for all the animals from the shelter.

  10. A scatter-plot, using the animals name as the labels, pounds as the x-axis, and weeks as the y-axis, for all the animals from the shelter.

  11. (Challenge) An lr-plot, using the animals species as the labels, pounds as the x-axis, and weeks 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). CCbadge 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.