World Book Logo Building Blocks

Analyzing Data: Graphing Colorful Candies

This cross-curricular lesson is designed for students in grades 2-3 and includes a tasty treat! Students will make connections between data analysis in computer science and data analysis in math by collecting, presenting, and interpreting data about the color of your favorite candy-coated chocolates. In addition, this lesson includes collaborative learning opportunities as peers will work together to discuss and analyze data. Students will love the hands-on, and delicious, nature of this lesson.

Standards

Objectives:

Students will be able to collect and record data in an organized way, such as by using a data table.

Students will be able to create a bar graph to display the data they collect.

Students will be able to collaborate effectively to discuss any trends in their data, analyze and interpret bar graphs, and use reasoning to make predictions about similar sets of data.

Lesson Duration:

at least 45-65 minutes in total

Materials:

• The Building Blocks of Computer Science series, specifically Organizing Data

• Fun-sized packages of candy-coated chocolates or other candy that comes in a variety of colors (1 per student)

• Markers

• Pencils

• Scratch paper

• Chart paper or graph paper

• Group Data and Discussion Questions (1 per group)

• Teacher Example

• Data Analysis Exit Ticket (1 per student)

• Optional: online graphing tools, such as the National Center for Education Statistics’ Kids’ zone bar graph resource

Requisite Prior Knowledge:

Before engaging in this lesson, it would be beneficial for students to have read the Organizing Data book. They should understand the idea that there are many ways to organize data and that some organization formats work better than others in specific situations. Students should understand that this is true not just in computer science but in other areas, such as mathematics, as well.

In addition, students should be familiar with creating bar graphs as well as the vocabulary highlighted below.

Assessments:

Group Data and Discussion Questions, both written work and informal observations of discussion questions

Individual or team bar graph

Exit ticket

Vocabulary:

Analyze – to example carefully in detail, especially to determine why something has happened or may be expected to happen

Bar Graph – a chart or graph of a comparison of quantities by means of darkened rectangles of various lengths, each of which represents a particular quantity

Data – things known or granted; information; facts

Data Table – a way to organize data

x-axis – the horizontal axis in a system of rectangular coordinates, as on a chart or graph

y-axis – the vertical axis in a system of rectangular coordinates, as on a chart or graph

Differentiation Considerations:

Because this activity involves group work, consider strategic grouping strategies and determine student groups ahead of time. Look to place one leader as well as a student who is confident in their handwriting skills in each group.

Lesson and Instruction:

Introduction / Hook

Time Guidelines:

Approximately 5-8 minutes

Teacher Actions

Hook students into the lesson by asking them to shout out the colors of whatever candy you chose to use for this lesson. List the colors where students can see and refer to them throughout the lesson: red, orange, yellow, green, blue, and brown. Then, dramatically pull out the individual packages of candy, theatrics encouraged! Explain to students that today they will combine their knowledge of data analysis in computer science with their knowledge of data analysis in math to collect, graph, discuss, analyze, and eventually eat, candy!

Use this as an opportunity to review your expectations about food safety and working with food in the classroom. Share your expectations for if, and when, students are allowed to eat their package of candy. (Wait until the class has finished the data collection portion of this task.)

Direct Instruction and Modeling

Time Guidelines:

Approximately 10-15 minutes

Teacher Actions

Explain that students will begin by sorting their candies and recording how many of each color they received. Students can record their data however they choose during this stage.

Next, have students share how they chose to organize their data with their group. Explain that there are many ways to organize data efficiently. One way is by using a data table. Modify the list of candy colors you made during the Hook/Introduction into a data table as follows:

Color Red Orange Yellow Green Blue Brown
Number

Model how to complete the data table for your own individual package of candies. Consider using the Teacher Example to guide your model.

Pass out the Group Data Table and Discussion Guide sheet (1 per group) and instruct students to collaborate to complete the table for their combined data. Students should add up the total number of each color candy and record it on the collective data table. Explain to students one of the reasons they are combining their data is because it can be easier to see trends and analyze data when there are more values to consider.

Explain to students that they will create a bar graph similar to the one you are about to model, but they will use their group’s data rather than yours.

Model how to create a bar graph using your data. Include the following components in your model:

  • • Create a title related to the content of the graph, such as Colorful Candies!
  • • Create and label the x-axis, the horizontal line that represents the color categories
  • • Create and label the y-axis, the vertical line that represents the number of candies found within each category
  • • How to draw bars on a bar graph that reach the correct height

Consider modeling how to draw 2-3 bars worth of data, but adjust your model based on your students’ learning needs.

Application Activity

Time Guidelines:

Approximately 15-20 minutes

Teacher Actions

Provide time for groups to create bar graphs that include a title, labeled x-axis, labeled y-axis, and bars that correctly represent their data table. Depending on your students, determine if they are to create one bar graph per group on chart paper or individual bar graphs on graph paper.

Once students have completed their bar graphs, have them collaborate further to discuss the following questions:

  • • What do you notice about the data?
  • • What surprises you? What stands out to you?
  • • Today you displayed data in two ways: with a data table and with a bar graph. Which presentation do you prefer and why?
  • • Predict how many of each color candy are likely to be in a new individual package. Explain your thinking.

Once students have finished their graphs and discussion questions, bring the class back to the whole group setting. Discuss connections between analyzing data and the study of computer science. Ask students why being able to collect, organize, and analyze data are good skills to have not just in math but also in the areas of computers and technology.

If you have time and believe it would be beneficial, consider extending the small group discussion students had to the whole group setting. You may use the same discussion guiding questions or extend students’ thinking further by asking them to compare groups’ data and graphs or to predict trends in the class’s data.

Independent Application and Demonstration of Learning

Time Guidelines:

Approximately 30-45 minutes

Teacher Actions

Transition to the independent application portion of the lesson where students will complete an exit ticket. Consider using this as a form of assessment.

On the exit ticket, students will be asked to answer mathematical questions about the data they collected and the graph they created. In addition, students will be asked about their analytical thinking skills and to reflect on this process.

Closure

Time Guidelines:

Approximately 5-7 minutes

Teacher Actions

Bring students back to the whole group setting and review the lesson’s objectives:

  • • Students will be able to collect and record data in an organized way, such as a data table.
  • • Students will be able to create a bar graph to display the data they collect.
  • • Students will be able to collaborate effectively to discuss any trends in their data, analyze and interpret bar graphs, and use reasoning to make predictions about similar sets of data.

Praise students for their collaboration in collecting, organizing, graphing, and analyzing data and for their conversations about the connections between computer science and mathematics.

Next Steps and Reflection:

What went well?

What changes might be beneficial?

Reteaching Needs

Extension Needs