Interactive Dotplot Builder
Run the Interactive Dotplot Builder MicroSim Fullscreen
Edit the Interactive Dotplot Builder MicroSim with the p5.js Editor
Place the following line in your website to include this in your course:
1 | |
Description
This MicroSim helps students understand how dotplots are constructed by allowing them to click on a number line to add individual data points. Each click places a dot at the nearest integer value, and dots stack vertically when multiple observations share the same value. This hands-on approach reinforces the concept that each dot represents one observation in the dataset.
How to Use:
- Add Data Points: Click anywhere on or above the number line to add a dot at the nearest integer value (0-15)
- Clear All: Remove all data points and start fresh
- Load Sample Data: Load a pre-made dataset of study hours to see a typical distribution
- Random Data: Generate 10-20 random values to explore different distributions
- Dot Size: Use the radio buttons to adjust dot size for better visibility
The display panel shows the current count of observations, the dataset values, and basic statistics (minimum, maximum, and range).
Lesson Plan
Learning Objectives
By the end of this activity, students will be able to:
- Demonstrate how to construct a dotplot by placing individual data points on a number line
- Explain that each dot represents one observation in the dataset
- Identify clusters, gaps, and the overall shape of a distribution
- Describe the spread of data using minimum, maximum, and range
Target Audience
- High school students in introductory statistics (AP Statistics)
- College students in introductory statistics courses
- Grade level: 9-12 and undergraduate
Prerequisites
- Understanding of quantitative vs. categorical data
- Familiarity with number lines
- Basic understanding of what a dataset is
Activities
Activity 1: Build Your Own Dotplot (10 minutes)
- Clear the dotplot and create your own dataset by clicking to add at least 15 data points
- Try to create a dataset that shows: a symmetric distribution, then clear and create one with a skewed distribution
- Observe how the shape changes as you add more points
Activity 2: Explore the Sample Data (5 minutes)
- Click "Load Sample Data" to see study hours data
- Identify the mode (most common value), any clusters, and any gaps
- Discuss: What can you conclude about students' study habits from this distribution?
Activity 3: Random Data Investigation (10 minutes)
- Click "Random Data" several times and observe different distributions
- For each random dataset, describe: the shape, the center (approximately), and the spread
- Compare: Do random datasets tend to look similar or different? Why?
Assessment
- Ask students to sketch a dotplot by hand after using the interactive version
- Have students describe a distribution shown in the MicroSim using statistical vocabulary
- Quiz: Given a list of data values, have students predict what the dotplot will look like before clicking "Load Sample Data"
References
-
Dotplots - Wikipedia - General reference on dotplots as a statistical visualization method
-
AP Statistics Course Description - College Board - Official course framework including dotplot construction skills
-
p5.js Reference - Documentation for the p5.js library used in this MicroSim