Interactive Dot Diagram (Mean, Median Illustration)

Interactive Dot Diagram (Mean, Median Illustration)
Loading the math board and drawing, please wait…
2020-01-09 14:44
This example demonstrates how to change the data list of a dot plot by dragging points on the horizontal axis, with real-time visualization of mean and median calculations. Core math concepts include data distribution, mean (average), and median (middle value after sorting). Construction highlights the use of GeoGebra commands like Segment, Point, First, DotPlot, Sequence, and Join to create and dynamically update the dot plot and statistics. Suitable for middle school and above students in probability and statistics education to understand the representation of data central tendency.

GeoGebra Commands & Parameters

  1. Segment((x(L_l) - 0.5, 0), (x(L_u) + 0.5, 0)) → a
  2. Point(a) → A
  3. Point(a) → B
  4. Point(a) → C
  5. Point(a) → D
  6. Point(a) → E
  7. Point(a) → F
  8. Point(a) → G
  9. Point(a) → H
  10. Point(a) → I
  11. Point(a) → J
  12. Point(a) → K
  13. Point(a) → L
  14. Segment((0, (-v)), (0, v)) → l
  15. Point(a) → M
  16. Point(a) → N
  17. Point(a) → O
  18. Point(a) → P
  19. Point(a) → Q
  20. Point(a) → R
  21. Point(a) → S
  22. Point(a) → T
  23. Point(a) → U
  24. Point(a) → V
  25. Point(a) → W
  26. Point(a) → Z
  27. First(list1, Items) → list2
  28. DotPlot(list2) → list3
  29. Segment((Median[list2], 0), (Median[list2], 4)) → d_1
  30. Segment((-3, (-v)), (-3, v)) → i
  31. Segment((8, (-v)), (8, v)) → a_1
  32. Segment((9, (-v)), (9, v)) → b_1
  33. Segment((-9, (-v)), (-9, v)) → c
  34. Segment((-8, (-v)), (-8, v)) → d
  35. Segment((-7, (-v)), (-7, v)) → e
  36. Segment((-6, (-v)), (-6, v)) → f
  37. Segment((-5, (-v)), (-5, v)) → g
  38. Segment((-4, (-v)), (-4, v)) → h
  39. Segment((-2, (-v)), (-2, v)) → j
  40. Segment((-1, (-v)), (-1, v)) → k
  41. Segment((1, (-v)), (1, v)) → m
  42. Segment((2, (-v)), (2, v)) → n
  43. Segment((3, (-v)), (3, v)) → p
  44. Segment((4, (-v)), (4, v)) → q
  45. Segment((6, (-v)), (6, v)) → s
  46. Segment((5, (-v)), (5, v)) → r
  47. Segment((7, (-v)), (7, v)) → t
  48. Segment((mean[list2], 0), (mean[list2], -3)) → e_1
  49. Segment((x(L_l), (-v)), (x(L_l), v)) → b
  50. Segment((x(L_u), (-v)), (x(L_u), v)) → c_1
  51. Sequence((p, 0), p, x(L_l) + 1, x(L_u) - 1, 1) → maintick
  52. Sequence(Text[p, (p - 0.2, -0.8)], p, x(L_l) + 1, x(L_u) - 1, 1) → xaxislabel
  53. Join({{Text[Element[list1, 1]]}, Sequence["+" + (Element[list1, i + 1]), i, 1, Items - 1]}) → listSum