Fill in the tables below, then use Pyret to make the following displays. Record the code you used. The first table has been filled in for you.
1 A bar-chart
showing how many puppies are fixed or not.
What Rows? | Which Column(s)? | What will you Create? |
---|---|---|
puppies |
fixed |
bar-chart |
code: bar-chart(animals-table.filter(is-dog).filter(is-young), "fixed")
2 A pie-chart
showing how many heavy dogs are fixed or not.
What Rows? | Which Column(s)? | What will you Create? |
---|---|---|
code:
3 A histogram
of the number of weeks
it takes for a random sample of animals to be adopted.
What Rows? | Which Column(s)? | What will you Create? |
---|---|---|
code:
4 A box-plot
of the number of pounds
that kittens weigh.
What Rows? | Which Column(s)? | What will you Create? |
---|---|---|
code:
5 A scatter-plot
of a random sample using species
as the labels, age
as the x-axis, and weeks
as the y-axis.
What Rows? | Which Column(s)? | What will you Create? |
---|---|---|
code:
6 Describe your own grouped sample here, and fill in the table below.
What Rows? | Which Column(s)? | What will you Create? |
---|---|---|
code:
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). 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.