Referenced from lesson Displaying Categorical Data
Using your Contracts page and the Animals Starter File, make each type of display below in pyret. Then sketch the displays and answer the questions. Be sure to add examples of the code you use to your contracts page!
Pie Charts | Bar Charts |
---|---|
|
|
Pie charts are constructed from 1 column(s). |
Bar charts are constructed from column(s). |
They show categorical data. |
They show data. |
What does this display tell us? |
What does this display tell us? |
Box Plots | Histograms |
---|---|
|
|
Box plots are constructed from column(s). |
Histograms are constructed from column(s). |
They show data. |
They show data. |
What does this display tell us? |
What does this display tell us? |
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.