Temperature Diagram: Constructing a Statistical Chart from Random Data
Loading the math board and drawing, please wait…
In collections
Daten darstellen und ablesen
This example demonstrates how to build a temperature‑variation statistical chart in GeoGebra, showing randomly generated temperature data points and the connecting polygonal envelope. Core mathematical concepts include statistical data visualization, random number generation, geometric representation of vectors and segments, and polygon construction. Construction highlights: Segment draws line segments, Point marks data points, Shuffle and Element work with the randomNos series to produce random temperature values, Vector indicates direction of change, and Polygon links points to form the temperature curve envelope. Suitable for high‑school probability and statistics courses, introductory university data‑visualization lessons, and as a GeoGebra construction teaching resource.
GeoGebra Commands & Parameters
Segment((6, 0), (6, 23)) → gl7Point(gl7) → SSegment((5, 0), (5, 23)) → gl6Point(gl6) → RSegment((4, 0), (4, 23)) → gl5Point(gl5) → QSegment((3, 0), (3, 23)) → gl4Point(gl4) → PSegment((2, 0), (2, 23)) → gl3Point(gl3) → OSegment((1, 0), (1, 23)) → gl2Point(gl2) → NSegment((0, 0), (0, 23)) → gl1Point(gl1) → MShuffle(Sequence[Random[8, 20], i, 1, 100]) → randomNos1, {16, 19, 20, 14, 19, 20, 9, 9, 16, 20, 19, 11, 15, 9, 14, 10, 14, 8, 17, 8, 18, 14, 13, 14, 12, 12, 20, 10, 13, 10, 12, 14, 9, 16, 11, 8, 18, 10, 13, 9, 19, 18, 8, 11, 10, 18, 12, 12, 19, 19, 14, 12, 17, 20, 19, 11, 10, 15, 15, 14, 9, 16, 18, 17, 14, 10, 19, 15, 11, 11, 20, 8, 14, 13, 8, 9, 17, 13, 17, 12, 14, 17, 9, 12, 14, 18, 16, 17, 16, 19, 10, 15, 8, 19, 12, 12, 14, 15, 17, 8}Element(randomNos1, Mod[count, 100] + 1) → aShuffle(Sequence[Random[8, 20], i, 1, 100]) → randomNos2, {12, 14, 12, 20, 13, 10, 18, 15, 14, 9, 12, 20, 18, 20, 15, 15, 11, 8, 12, 19, 19, 19, 13, 13, 15, 8, 15, 10, 20, 17, 8, 11, 18, 11, 18, 12, 17, 11, 13, 15, 11, 17, 14, 20, 12, 18, 14, 9, 20, 8, 15, 18, 11, 12, 16, 11, 18, 15, 12, 18, 10, 18, 12, 13, 14, 9, 8, 9, 12, 15, 14, 15, 10, 16, 19, 16, 14, 17, 9, 10, 15, 20, 8, 13, 8, 17, 16, 15, 10, 16, 10, 11, 16, 9, 11, 13, 12, 18, 15, 10}Element(randomNos2, Mod[count, 100] + 1) → bShuffle(Sequence[Random[8, 20], i, 1, 100]) → randomNos3, {16, 13, 15, 20, 18, 12, 16, 8, 16, 19, 18, 10, 19, 18, 10, 11, 8, 12, 15, 19, 19, 10, 19, 10, 8, 13, 13, 11, 14, 18, 17, 9, 18, 9, 10, 17, 14, 10, 17, 19, 17, 20, 16, 15, 8, 19, 14, 18, 9, 11, 14, 20, 19, 10, 13, 14, 17, 16, 9, 17, 15, 14, 8, 18, 18, 12, 19, 15, 12, 13, 8, 18, 9, 20, 10, 17, 18, 19, 18, 8, 10, 14, 20, 8, 11, 16, 10, 18, 14, 12, 18, 14, 12, 11, 12, 17, 13, 11, 15, 15}Element(randomNos3, Mod[count, 100] + 1) → cShuffle(Sequence[Random[8, 20], i, 1, 100]) → randomNos4, {17, 10, 20, 12, 14, 8, 20, 19, 17, 10, 14, 12, 17, 12, 8, 14, 20, 18, 10, 15, 16, 9, 18, 9, 12, 12, 17, 11, 20, 20, 17, 12, 14, 13, 19, 17, 15, 14, 9, 12, 17, 18, 11, 20, 11, 12, 18, 11, 9, 13, 8, 16, 20, 13, 10, 14, 10, 15, 17, 17, 11, 11, 14, 13, 15, 9, 15, 12, 17, 13, 17, 17, 19, 16, 17, 15, 17, 9, 17, 14, 9, 10, 20, 8, 19, 20, 14, 12, 19, 20, 13, 17, 9, 14, 12, 11, 17, 8, 18, 14}Element(randomNos4, Mod[count, 100] + 1) → dShuffle(Sequence[Random[8, 20], i, 1, 100]) → randomNos5, {15, 10, 17, 12, 17, 9, 13, 14, 17, 19, 17, 19, 12, 18, 10, 20, 16, 12, 12, 17, 15, 10, 10, 19, 10, 15, 15, 11, 16, 13, 20, 15, 11, 15, 15, 10, 13, 20, 8, 14, 10, 13, 16, 8, 10, 9, 9, 10, 19, 10, 12, 15, 19, 14, 10, 12, 17, 10, 14, 12, 18, 16, 15, 16, 19, 8, 19, 18, 14, 12, 19, 20, 15, 14, 19, 19, 14, 16, 13, 9, 15, 17, 13, 8, 14, 12, 13, 15, 8, 13, 15, 13, 20, 14, 16, 13, 14, 11, 20, 17}Element(randomNos5, Mod[count, 100] + 1) → eShuffle(Sequence[Random[8, 20], i, 1, 100]) → randomNos6, {16, 12, 8, 13, 13, 20, 10, 19, 14, 20, 10, 19, 20, 12, 13, 19, 9, 17, 13, 16, 19, 8, 8, 18, 13, 13, 10, 15, 11, 18, 14, 13, 17, 11, 13, 18, 16, 20, 18, 9, 10, 17, 19, 17, 11, 9, 11, 15, 12, 14, 8, 11, 17, 15, 14, 12, 8, 19, 19, 16, 16, 10, 10, 17, 19, 13, 14, 20, 13, 8, 14, 15, 17, 9, 16, 14, 18, 10, 19, 20, 17, 20, 10, 18, 9, 15, 17, 11, 8, 12, 12, 10, 16, 19, 9, 9, 14, 12, 18, 13}Element(randomNos6, Mod[count, 100] + 1) → fShuffle(Sequence[Random[8, 20], i, 1, 100]) → randomNos7, {8, 8, 16, 17, 19, 15, 15, 8, 15, 18, 10, 14, 9, 19, 19, 18, 19, 8, 17, 11, 14, 15, 17, 20, 10, 8, 18, 16, 19, 10, 18, 19, 17, 12, 11, 9, 18, 14, 20, 16, 14, 10, 8, 20, 18, 12, 16, 11, 10, 14, 16, 13, 15, 14, 18, 11, 12, 12, 12, 19, 10, 15, 18, 18, 12, 19, 9, 19, 20, 17, 8, 9, 11, 20, 12, 12, 8, 20, 11, 9, 16, 19, 13, 11, 11, 13, 10, 14, 9, 9, 16, 10, 12, 15, 16, 17, 18, 13, 15, 16}Element(randomNos7, Mod[count, 100] + 1) → gSegment(A, B) → hSegment(B, C) → iSegment(C, D) → jSegment(D, E) → kSegment(E, F) → lSegment(F, G) → mSegment(M, N) → pSegment(N, O) → qSegment(O, P) → rSegment(P, Q) → sSegment(R, S) → f_1Segment(Q, R) → tSegment((0, 0), (0, 22)) → axis_yPoint(Circle[(0, 0), 12]) → LSegment((0, 0), L) → axis_xVector((0, 21), (0, 23)) → uPolygon(T, U, V, W) → q1, t_1, u_1, v, wPolygon(Z, A_1, B_1, C_1) → q2, z_1, a_1, b_1, c_1Segment(D_1, E_1) → nSegment(F_1, G_1) → g_1Segment(H_1, I_1) → h_1Segment(J_1, K_1) → i_1Segment((7, 0), (7, 23)) → gl8
AI Drawing Prompt Reference
Draw a random temperature statistical chart. First create a vertical axis with an arrow at the top and a reference segment from the origin, then draw several vertical guide segments from the bottom to the top at positions 0 through 6 and place points on them. Generate several random temperature values between 8 and 20, select current values from the sequences, and use those values to define temperature data points. Connect adjacent data points with line segments to form a broken temperature curve, and use polygons to enclose the related points as a temperature envelope. Add a few auxiliary segments so the diagram shows random temperature variation and statistical visualization.
The prompt above was compiled from the original drawing commands and is for reference only.