Fill in the tables below by considering the rows and columns you need. Look up the Contract for the display and record the Pyret code you’d need to make it. If time allows, type your code into the editor to see your display! The first column has been filled in for you.

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

Which Rows? Which Column(s)? What will you Create?

All the animals

code:

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

Which Rows? Which Column(s)? What will you Create?

All the animals

code:

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

Which Rows? Which Column(s)? What will you Create?

All the animals

code:

4 A box-plot of the number of pounds that animals weigh.

Which Rows? Which Column(s)? What will you Create?

All the animals

code:

5 A scatter-plot, using the animals' species as the labels, age as the x-axis, and pounds as the y-axis.

Which Rows? Which Column(s)? What will you Create?

All the animals

code:

6 A scatter-plot, using the animals' name as the labels, pounds as the x-axis, and weeks as the y-axis.

Which Rows? Which Column(s)? What will you Create?

All the animals

code:

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.