Quartiles and Box Plot (Single Data Set)
Loading the math board and drawing, please wait…
In collections
S2,3,5 Statistics
This GeoGebra example demonstrates descriptive statistical analysis for a single data set, computing the five-number summary: minimum, first quartile (Q1), median (Q2), third quartile (Q3), and maximum. It dynamically renders a box plot using GeoGebra commands such as BoxPlot, Q1, Median, Q3, Sort, and Frequency. Interactive buttons and data lists allow users to explore data distribution, central tendency, and dispersion in real time, making it an ideal tool for introductory probability and statistics instruction. Students can modify input values directly and observe how each statistic adjusts accordingly, reinforcing the relationship between raw data and its graphical representation. The applet visually highlights the interquartile range, identifies potential outliers, and clarifies how the box plot summarizes the spread and skewness of a data set at a glance. By toggling visibility of individual statistical elements, learners can isolate and examine each component of the five-number summary before interpreting the complete box plot. This hands-on, visual approach supports conceptual understanding beyond rote calculation, helping students connect abstract statistical measures to concrete graphical features. The applet is well suited for classroom demonstrations, independent exploration, and formative assessment in high school or early college-level statistics courses.
GeoGebra Commands & Parameters
SelectedElement(listNx) → nXSequence(Segment[(0, i), (20, i)], i, seperation, (nX * seperation), seperation) → listGridXPoint(listGridX) → LPoint(listGridX) → KPoint(listGridX) → JPoint(listGridX) → IPoint(listGridX) → HPoint(listGridX) → GPoint(listGridX) → FPoint(listGridX) → EPoint(listGridX) → DPoint(listGridX) → CPoint(listGridX) → BPoint(listGridX) → ATake(Zip[x(k), k, {A, B, C, D, E, F, G, H, I, J, K, L}], 1, nX) → listDataXMean(listDataX) → meanXTake(Zip[k, k, {A, B, C, D, E, F, G, H, I, J, K, L}], 1, nX) → listDataPointXIf(nX ≥ 11, 0.7, If[nX ≥ 9, 0.85, 1]) → scaleQ1(listDataX) → q1Median(listDataX) → q2Q3(listDataX) → q3Min(listDataX) → minvalMax(listDataX) → maxvalRay((0, 0), (1, 0)) → bPoint(b) → Q_2Point(b) → Q_3Point(b) → Q_1Vector(Q_1, Q_1 + (0, 0.8)) → uVector(Q_2, Q_2 + (0, 0.8)) → vVector(Q_3, Q_3 + (0, 0.8)) → wSequence(Random[0, 20], i, 1, nX) → listRandSort(listRand) → listRandSortFrequency(listRand) → listFreqFlatten(Zip[Sequence[(seperation * i), i, 1, k], k, listFreq]) → listHeightShuffle(Zip[(h, k), h, listRandSort, k, listHeight]) → listPositionBoxPlot(2.4, 0.6, listDataX) → boxplotSegment((maxval, 0), (maxval, 1.25)) → maxLineSegment((q3, 0), (q3, 1.25)) → q3LineSegment((q2, 0), (q2, 1.25)) → q2LineSegment((q1, 0), (q1, 1.25)) → q1LineSegment((minval, 0), (minval, 1.25)) → minLine
AI Drawing Prompt Reference
Create a box plot that visualizes statistical features of a single dataset. Generate a set of random data points along a horizontal axis, sort them, and calculate the five-number summary: minimum, first quartile, median, third quartile, and maximum. Draw the main box plot and use vertical line segments above it to mark each of these five statistics, with each line extending from the baseline to the same height. The overall visualization displays the data's range, interquartile range, and central tendency, allowing direct comparison of data dispersion and skewness.
The prompt above was compiled from the original drawing commands and is for reference only.