X Tables
Scratch Maths

Scratch data projects maths mission

A practical mini-mission using data projects to practise graphs through questions, examples and child-friendly challenges.

Quick answer

You can use Scratch to create fun data projects that help you learn about graphs, charts, and how to show information clearly. By making your own Scratch programs, you can explore how data works in a hands-on way.

Learning outcome

By the end of this page, you will be able to create a simple data project in Scratch that shows information using graphs and charts, and you will understand how to collect, sort, and display data in a way that makes sense to others.

Why this matters

Data is all around us – from how many goals your football team scores, to how many books you read each month. Learning to show data in a clear way helps you understand patterns, make predictions, and share your findings. Scratch lets you make your own visual displays of data, which makes learning about charts and graphs more fun and personal.

How it works

In Scratch, you can use data projects to collect information and show it visually. Here’s how to get started:
  1. Choose a topic: Think of something you want to learn about, like your favourite ice cream flavour or the weather.
  2. Collect data: Ask friends or family, or count things around you.
  3. Plan your display: Decide what kind of chart or graph you want to use – like a bar chart, pie chart, or line graph.
  4. Make it in Scratch: Use Scratch’s blocks to create your data display.
  5. Test and improve: Try your project and see if it’s easy to understand.

Examples you can see

Let’s imagine you want to find out what your class likes to do after school. You can make a Scratch project that asks your classmates to choose from these options:
  • Play video games
  • Read books
  • Play sports
  • Draw or colour
Then, you can use Scratch to show the results in a bar chart. Each bar can represent how many people picked each activity. Example 1: Bar Chart in Scratch You can make a bar chart by using a loop to draw each bar. For example:
  • Bar 1 (video games) = 5 people
  • Bar 2 (books) = 3 people
  • Bar 3 (sports) = 7 people
  • Bar 4 (drawing) = 2 people
In Scratch, you can make each bar grow tall or short depending on how many people picked that choice. Example 2: Pie Chart You can also make a pie chart to show the same data. Each slice of the pie can represent a choice. For example:
  • Video games = 5 slices
  • Books = 3 slices
  • Sports = 7 slices
  • Drawing = 2 slices
This way, you can see which choice is the most popular at a glance.

Try it as a mini adventure

Adventure: The Data Detective You are a Data Detective and your mission is to find out what your family likes to do on weekends. Here’s how to solve the mystery:
  1. Step 1: Ask your family members to pick one weekend activity from this list:
    • Watch a movie
    • Go for a walk
    • Play a game
    • Cook or bake
  2. Step 2: Record the answers using a simple tally chart or by writing them down.
  3. Step 3: Use Scratch to make a bar chart showing the results. Each bar should be as tall as the number of people who chose that activity.
  4. Step 4: Show your chart to your family and ask them what they notice.
  5. Step 5: Change your chart to a pie chart to see the same data in a different way.
This is a fun way to learn how to collect and display data, and it helps you see patterns in your family’s habits.

Common mistakes

  • Mistake: Forgetting to label the chart.

    Why it happens: It's easy to get excited about making the chart and forget to add labels.

    Fix: Always add a title and labels for each axis or category. For example, write “Weekend Activities” at the top and “Activity” on the side.

  • Mistake: Making the bars too short or too tall.

    Why it happens: If you don’t count your data carefully, the chart won’t show the right information.

    Fix: Double-check your data and make sure each bar matches the number of people or items.

  • Mistake: Using the wrong type of chart for the data.

    Why it happens: Some charts are better for showing changes over time, while others are better for showing parts of a whole.

    Fix: Use a bar chart for comparing numbers, and a pie chart for showing parts of a whole.

Parent and carer guide

As a parent or carer, you can help your child by:
  • Choosing a fun topic for the data project, like favourite pets, colours, or foods.
  • Encouraging your child to collect data by asking questions or making a small survey.
  • Helping them to think about how to display the data in Scratch, such as using bar charts or pie charts.
  • Checking that their chart is clear and easy to read, with labels and titles.
  • Letting your child explain their data to you – this helps them learn and builds confidence.
It’s okay if they make mistakes – that’s part of learning. You can ask questions like, “What does this bar show?” or “Why did you choose this chart?”

Practice questions

  1. What kind of data would be best shown in a pie chart?
  2. How many people chose the most popular activity in your survey?
  3. Why is it important to label your chart?
  4. Which type of chart is best for comparing how many of each thing there are?
  5. Can you name one way to collect data for a Scratch project?
Answers:
  1. Data that shows parts of a whole, like what percentage of your class likes each sport.
  2. It depends on the survey results, but for example, 10 people chose the most popular activity.
  3. To help people understand what the chart is showing.
  4. A bar chart is best for comparing how many of each thing there are.
  5. One way is to ask people questions or count things in your environment.

FAQ

What is a data project in Scratch?

A data project in Scratch is a program you make to collect and display information using charts and graphs. You can use it to show patterns, make comparisons, and share findings.

Can I use data projects for school work?

Yes! Data projects are great for school because they help you learn about data handling, charts, and how to present information clearly.

Do I need to know how to code to make a data project?

You don’t need to be an expert programmer, but you do need to know how to use basic Scratch blocks like “repeat,” “if,” and “set variable.”

How can I make my data project more interesting?

You can make it more interesting by adding music, animation, or even changing the chart based on user input. You can also make your chart look colorful and fun!

What if I don’t have a lot of data?

You can still make a chart with a small amount of data. Even just 3 or 4 pieces of information can make a clear and useful chart.