Dynamic Visualization of Mean, Median, and Mode

Dynamic Visualization of Mean, Median, and Mode
Loading the math board and drawing, please wait…
2018-02-27 10:36
This GeoGebra example dynamically demonstrates the calculation and graphical representation of the mean, median, and mode for a set of random data. The core mathematical concepts are measures of central tendency in descriptive statistics, involving data sorting, frequency distribution, and multiple statistical charts such as stem-and-leaf plots, dot plots, and box plots. Construction highlights include using the Random command to generate data, Sum for total, and statistical functions like Median, Mode, Q1, Q3, Min, Max to extract key values, while StemPlot, DotPlot, and BoxPlot visualize the data distribution. Additionally, geometric objects like Circle, Rotate, Angle, and CircleSector are used to build a unit circle with angle representations, and Textfield with LaTeX input allows interactive parameter adjustment. This resource is suitable for middle and high school statistics lessons, helping students intuitively understand how different statistics describe data centrality and how outliers affect the mean versus the median.

GeoGebra Commands & Parameters

  1. Random(1, 5) → B2
  2. Random(1, 5) → B3
  3. Random(1, 5) → B4
  4. Random(1, 5) → B5
  5. Sum(B2:B5) → B6
  6. Random(26, 29) → A11
  7. Random(26, 29) → A12
  8. Random(26, 29) → A13
  9. Random(26, 29) → A14
  10. Random(26, 29) → A15
  11. Random(26, 32) → A16
  12. Random(26, 33) → A17
  13. Random(29, 35) → B11
  14. Random(30, 35) → B13
  15. Random(30, 35) → B14
  16. Random(30, 35) → B16
  17. Random(30, 35) → B18
  18. Random(28, 35) → A18
  19. Random(29, 35) → B12
  20. Random(28, 35) → B15
  21. Random(28, 35) → B17
  22. Random(35, 42) → C11
  23. Random(35, 42) → C12
  24. Random(35, 42) → C13
  25. Random(35, 42) → C14
  26. Random(35, 42) → C15
  27. Random(35, 42) → C17
  28. Random(35, 42) → C18
  29. Random(37, 43) → D11
  30. Random(33, 43) → D12
  31. Random(37, 44) → D13
  32. Random(40, 44) → D14
  33. Random(40, 44) → D15
  34. Random(40, 44) → D16
  35. Random(40, 44) → D17
  36. Random(40, 43) → D18
  37. Random(35, 42) → C16
  38. StemPlot({A11, A12, A13, A14, A15, A16, A17, A18, B11, B12, B13, B14, B15, B16, B17, B18, C11, C12, C13, C14, C15, C16, C17, C18, D11, D12, D13, D14, D15, D16, D17, D18}) → text11
  39. DotPlot({A11, A12, A13, A14, A15, A16, A17, A18, B11, B12, B13, B14, B15, B16, B17, B18, C11, C12, C13, C14, C15, C16, C17, C18, D11, D12, D13, D14, D15, D16, D17, D18}) → list4
  40. BoxPlot(1, 1, {A11, A12, A13, A14, A15, A16, A17, A18, B11, B12, B13, B14, B15, B16, B17, B18, C11, C12, C13, C14, C15, C16, C17, C18, D11, D12, D13, D14, D15, D16, D17, D18}, true) → b
  41. Q3({A11, A12, A13, A14, A15, A16, A17, A18, B11, B12, B13, B14, B15, B16, B17, B18, C11, C12, C13, C14, C15, C16, C17, C18, D11, D12, D13, D14, D15, D16, D17, D18}) → i
  42. Q1({A11, A12, A13, A14, A15, A16, A17, A18, B11, B12, B13, B14, B15, B16, B17, B18, C11, C12, C13, C14, C15, C16, C17, C18, D11, D12, D13, D14, D15, D16, D17, D18}) → h
  43. Min({A11, A12, A13, A14, A15, A16, A17, A18, B11, B12, B13, B14, B15, B16, B17, B18, C11, C12, C13, C14, C15, C16, C17, C18, D11, D12, D13, D14, D15, D16, D17, D18}) → B19
  44. Max({A11, A12, A13, A14, A15, A16, A17, A18, B11, B12, B13, B14, B15, B16, B17, B18, C11, C12, C13, C14, C15, C16, C17, C18, D11, D12, D13, D14, D15, D16, D17, D18}) → A19
  45. Mode({A11, A12, A13, A14, A15, A16, A17, A18, B11, B12, B13, B14, B15, B16, B17, B18, C11, C12, C13, C14, C15, C16, C17, C18, D11, D12, D13, D14, D15, D16, D17, D18}) → D10
  46. Median({A11, A12, A13, A14, A15, A16, A17, A18, B11, B12, B13, B14, B15, B16, B17, B18, C11, C12, C13, C14, C15, C16, C17, C18, D11, D12, D13, D14, D15, D16, D17, D18}) → C10
  47. Mode(B2:B5) → A9
  48. Min(B2:B5) → A7
  49. Max(B2:B5) → A6
  50. Median({B2, B3, B4, B5}) → B8
  51. Ordinal(Median[A2:A5, B2:B5]) → B9
  52. TableText({{A1, B1}, {A2, B2}, {A3, B3}, {A4, B4}, {A5, B5}}, "c_|") → text8
  53. Circle(A, B) → c
  54. Rotate(B, D2, A) → B'
  55. Angle(B, A, B') → α
  56. Rotate(B', D3, A) → B''
  57. Angle(B', A, B'') → β
  58. Rotate(B'', D4, A) → B'''
  59. Angle(B'', A, B''') → γ
  60. CircleSector(A, B', B'') → d
  61. CircleSector(A, B, B') → e
  62. CircleSector(A, B''', B) → f
  63. CircleSector(A, B'', B''') → g
  64. TableText({{A1, A2, A3, A4, A5}, {B1, B2, B3, B4, B5}}, "c_|") → text10
  65. Element(list3, a) → j
  66. Textfield(text33) → inputBox2
  67. LaTeX(right, true, true) → text36
  68. LaTeX(wrong, true, true) → text37
  69. Textfield(Name) → inputBox1
  70. Element(list2, a) → text20

AI Drawing Prompt Reference

Create a set of statistical charts for a group of random data, including a stem-and-leaf plot, dot plot, and box plot. First, generate a set of random data, then calculate the median, quartiles, minimum, maximum, and mode of the data. Next, draw the stem-and-leaf plot, dot plot, and box plot to show the data distribution and display these statistical values on the charts.
The prompt above was compiled from the original drawing commands and is for reference only.