Data charts – bar, line, and pie from the same table
MathematicsStatisticsAges 12–13
How do you mainly use this simulation?
Use it with your class: students open it from a link or a QR code, with no account needed.
A single data table (monthly temperatures, top students per class, quarterly revenue…) is drawn as a bar chart, a line graph, or a pie chart. Drag a bar top or a point on the line to edit the values, switch chart types, and see which type fits best: bars for direct comparison, lines for trends over time, and pie slices for percentage shares. Two more views draw a two-way table as stacked and 100% stacked bars, and work out a weighted mean (weights as counts or percentages) beside the simple mean.
Lesson: Line graphs; pie charts; choosing a chart type; stacked bar charts; weighted mean
What it shows
The same small data table can be drawn in several ways, and each chart answers a different question. A bar chart compares sizes; a line graph shows a trend over time; a pie chart shows each value as a share of the total, with central angle = share × 360°. Stacked bars draw a two-way table: plain stacks compare counts, while 100% stacks compare shares in groups of different sizes. A weighted mean Σwx ÷ Σw lets values with larger weights, such as a final exam or a crowded class interval, count more than they do in the simple mean Σx ÷ k.
How to use
Switch between Bar, Line and Pie for the same table, try the Temperature, Top students and Revenue buttons, and drag a bar top or point to change a value. Open Stacked bars, choose a Two-way table, switch between Stacked and 100% stacked, tap a bar and press Record this bar. Open Weighted mean, choose an Example, edit the values and weights in the table, compare the two means and press Record.
Parameters you can change
- Number of data points 3–12
- Initial chart type Bar chart, Line graph, Pie chart
- Sample data set Average monthly temperature (°C), Number of top students per class, Revenue by quarter
- Show values on chart
- Currency From the language, US dollar, Euro, Indian rupee, Indonesian rupiah, Saudi riyal
- View Bar, line and pie charts, Stacked bars, Weighted mean
- Two-way table (Stacked bars) Travel to school, Boys and girls
- Chart (Stacked bars) Stacked, 100% stacked
- Example (Weighted mean) Term marks, Grouped frequencies
Questions to explore
- Which chart type best shows how London's monthly temperature changes through the year, and why?
- When is a pie chart a sensible way to display a data set?
- If you increase one value, what happens to the angles of the other pie slices?
- Why can a class with more walkers have a smaller share of walkers?