Lesson 14: Picturing Data
45 minutes
Overview
Students will collect data from a Play Lab project and visualize it using different graphs in this exploratory lesson.
Purpose
Computers were created to help process data. There is an increasing amount of data in the world, so being able to read and analyze it is important. This lesson is here to make sure students have the basic experience of collecting, visualizing, and analyzing a simple set of data.
Standards
DA - Data & Analysis
- 1A-DA-05 - Store, copy, search, retrieve, modify, and delete information using a computing device and define the information stored as data.
- 1A-DA-06 - Collect and present the same data in various visual formats.
- 1A-DA-07 - Identify and describe patterns in data visualizations, such as charts or graphs, to make predictions.
Cross-Curricular Opportunities
MD - Using Probability To Make Decisions
- 2.MD.10 - Draw a picture graph and a bar graph (with single-unit scale) to represent a data set with up to four categories. Solve simple put- together, take-apart, and compare problems4 using information presented in a bar graph.
Agenda
Objectives
Students will be able to:
- Collect and record data about quantities of real objects, or characters on a screen
- Create a bar graph and pie chart to represent simple data.
- Make comparisons between data visualizations made by others and use them to make a prediction.
Preparation
- Print out one *worksheet for each student.
- Try today's lesson on Code Studio. This is meant to be used as a tool for today's activity. Be prepared to project it to the class, or otherwise allow students to visit it on their own computers.
Links
Heads Up! Please make a copy of any documents you plan to share with students.
For the teachers
- CSF - Course C - Slides 2022-2023 - Slides (Download)
- Graphing Data from Play Lab - Worksheet
Vocabulary
- Data - A collection of information
- Graph - A picture or a diagram that represents data or values in an organized manner
Teaching Guide
Warm Up (5 minutes)
Reflect
Display: Show “Reflect” slide
Reflect: Let’s say you want to find out the most popular ice cream flavors among your classmates. How would you figure this information out?
Vocabulary
Display: Show “Vocabulary” slide
- Data - A collection of information
- Graph - A picture or a diagram that represents data or values in an organized manner
Introduction
The Need for Visualization
Display: Show “Favorite Season” slide
Say: On the count of 3, tell me your favorite season. 1, 2, 3
Goal: Students should all answer at once. Students should see first-hand how this is an inefficient, or even inaccurate way of collecting data.
Display: Show “Discuss” slide
Discuss:
-
Can we tell which season most of the class likes?
-
Why do you believe that?
-
What could we do to be more certain?
Take ideas from the class, but lead them towards writing the data down using tally marks on a board or chart paper.
Display: Show “Tally Marks” slide
Remarks
Tally marks like these help us to keep track of everyone's answers, which is great. It still takes time to count them to know which option was chosen by the most or fewest students. Imagine if someone showed us tally marks for the entire school. It would take some time to count them! It is much easier to see the data written out as numbers rather than tally marks.
Main Activity (35 minutes)
Picturing Data
Display: Show “Level 1 - Picturing Data” slide .
Distribute: Pass out the *handout along with pencils and coloring instruments of some kind. Direct students to Code Studio or project the level on the board.
This program generates a random assortment of pets each time it is run. If you are projecting the program for the whole class to use, consider running it multiple times and asking different groups of students to track the numbers each time so that there will be variety in their responses for later discussion.
This activity is broken into two parts.
Display: Show “Counting Data” slide
On the first page students use tally marks to keep track of how many times each pet appears in the program.
Display: Show “Graphing Data” slide
On the second page they use a variety of graphs to visualize the data they collected.
Display: Show “Share” slide
Share: After finishing, encourage students can share their results with a neighbor and look for similarities and differences. When the whole class is ready, bring everyone together.
Display: Show “Discuss” slide
Discuss: Ask the class to discuss some of the following questions (Bolded questions appear in the slides. Feel free to add any others that would work for you):
- Which graph shows you the most useful information? Why?
- Which pets did you see the most? Is that true for everyone?
- What do you think would happen if this program was run for 100 animals? 1000?
- What questions could you answer with your data?
The goal of this discussion is to get students thinking about the usefulness of data in identifying or answering questions, and to start them thinking about why they might want to use different kinds of visualizations (graphs in this case).
Summary
Display: Show “Summary” slide
Remarks
Collecting and graphing data can help us ask and answer interesting questions.
For example, if you play soccer, you might want to know if goals are scored more often from the left, the right, or center. What data would you want to collect to answer that question? How would you show it?
Wrap Up (5 minutes)
Reflection
Display: Show “Reflect” slide
Reflect: What is one question that you would like to answer? What data would you want to collect to answer it?
This work is available under a Creative Commons License (CC BY-NC-SA 4.0).
If you are interested in licensing Code.org materials for commercial purposes contact us.