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.
- Make sure every student has a reflection journal.
Links
Heads Up! Please make a copy of any documents you plan to share with students.
For the teachers
- Graphing Data from Play Lab - Worksheet
Teaching Guide
Warm Up (5 minutes)
The Need for Visualization
Remarks
In a moment I am going to ask each of you to tell me your favorite favorite season. On the count of 3, everyone should answer the question and then we will try to see if we can figure out which is the most popular season with the students in this class. Are you thinking of your favorite season? 1, 2, 3...
Students should all answer at once.
Discuss: Can we tell which season most of the class likes? How can we be sure? Encourage students to justify why they believe in their response.
Prompt: What could we do to be more certain that we know which season most people like?
Take ideas from the class, but lead them towards writing the data down using tally marks on a board or chart paper.
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!
Main Activity (35 minutes)
Distribute: Pass out the *worksheet 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. On the first page students use tally marks to keep track of how many times each pet appears in the program. On the second page they use a variety of graphs to visualize the data they collected.
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.
Discuss: Ask the class to discuss some of the following questions:
- 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 run for 100 animals? 1000?
- What questions could you answer with your data?
- What questions would you like to be able to answer?
The goal of this discussion is to get students thinking about the usefulness of data in identifying or answer questions, and to start them thinking about why they might want to use different kinds of visualizations (graphs in this case).
Wrap Up (5 minutes)
Reflection
Say: Collecting and graphing data can help us ask and answer interesting questions.
Prompt:
- What is one question that you would like to answer and what data you might want to collect?
For example, if you play soccer, you might want to know if goals are more often scored from the left, the right, or center. What data would you want to collect to answer that question? How would you show 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.