Then, click "Run" and type states-table into the Interactions Area on the right to see the dataset.

What do you Notice about this dataset? What do you Wonder about this dataset?

1 What code will produce a table showing the number of states in each region?

2 Which states do you think have the most people?

3 What code will produce a table containing the five states with the largest population in 2020?

4 Which states do you think have the most poverty?

5 What code will produce a table containing the ten states with the highest % of people in poverty?

6 What code will produce a table containing the states with the lowest median income?

7 What code will produce a table containing the states with the lowest per-capita ("average" or "mean") income?

What does it mean if a state has a higher per-capita income than median-income?

The two lines of code under # Define some rows extract rows 0 and 1 from the table, and define them as alabama and alaska.

8 Type alabama into the Interactions Area. What do you get back?

9 Underneath the definition of those rows, add a new definition for california and click "Run", so that Pyret reads your new definition.

10 Add a definition for your own state, then click "Run" and test it out in the Interactions Area!

11 Add any additional Notices or Wonderings you have about this dataset to the table at the top.

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). 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.