Percent Bar: Visualizing Percentages as Parts of 100

Percent Bar: Visualizing Percentages as Parts of 100
Loading the math board and drawing, please wait…
2022-08-31 15:24
This GeoGebra example uses an interactive percent bar to show that the full bar represents 100% and that segment lengths correspond to percentage values. It supports open-ended fill-in and multiple-choice questions about converting millimeter lengths to percentages, such as a 100 mm bar where 1 mm equals 1% and a 50 mm bar where 1 mm equals 2%. The construction combines Point, Segment, Polygon, Vertex, Textfield, and LaTeX for the bar, ticks, labels, and answer choices; Sequence, Reverse, Shuffle, Flatten, IndexOf, DivisorsList, Factors, and If generate lists, options, and conditional feedback; Translate and slider/textfield objects enable interaction. It is suitable for grades 5-6 or early middle school for number sense, percentages, proportional reasoning, and classroom assessment.

GeoGebra Commands & Parameters

  1. Reverse(DivisorsList[100]) → teilerliste100
  2. Reverse(teilerliste100) → teilerliste100umgekehrt
  3. Sequence(i, i, 2, 95) → fallliste
  4. Shuffle(fallliste) → angabeliste, {78, 91, 11, 82, 3, 12, 72, 13, 10, 29, 44, 75, 66, 40, 15, 30, 9, 34, 8, 26, 36, 17, 41, 48, 89, 69, 59, 39, 54, 37, 81, 76, 84, 7, 61, 42, 47, 73, 6, 65, 92, 62, 68, 18, 70, 45, 43, 28, 55, 58, 60, 93, 74, 52, 23, 85, 50, 21, 49, 53, 71, 46, 67, 19, 87, 88, 57, 77, 35, 31, 4, 2, 79, 56, 33, 16, 51, 5, 83, 32, 95, 94, 80, 38, 25, 64, 22, 14, 24, 27, 20, 86, 63, 90}
  5. Flatten(Sequence[Mod[angabe, teilerliste100(i)], i, 1, 9]) → modListe
  6. IndexOf(0, modListe) → a
  7. Polygon(A, A + (((1, 0) * dx1) * 100), A + (((1, 0) * 100) * dx1) + (0, dy1), A + (0, dy1)) → Umrandung, a_1, f, g, h
  8. Vertex(Umrandung) → B, C, D, E
  9. Sequence(Segment[A + ((i * dx1), 0), A + ((i * dx1), dy1)], i, 0, 100) → Stricherl100
  10. Sequence(Stricherl100(i), i, 1, 101, teilung) → StricherlTeilung, {1.01, 1.01}
  11. Point(PunkteListe) → StudPoint
  12. Textfield(input1) → InputBox1
  13. Textfield(input2) → InputBox2
  14. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  15. DivisorsList(75) → teilerlisteAngabe
  16. Factors(75) →
  17. Segment(B, ((x(C) * (angabe - 1) / 100), y(C))) → i
  18. Translate(Solution, (0, dySolution)) → Solution02
  19. Sequence(Segment[l1(i), l1(i) + (0, dy1)], i, 1, 6) → StricherlEinheiten
  20. Translate({StricherlTeilung, Umrandung_{1}}, (0, dySolution)) → Solution01
  21. Translate({StricherlEinheiten, Umrandung_{1}}, (0, dySolution)) → Solution03
  22. Sequence(Stricherl100(i), i, 1, 101, 1) → StricherlTeilung100, {1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01, 1.01}
  23. LaTeX(page, true, true) → text7
  24. Sequence(Text[((i * 5) * "%"), A + (i * (dxUnit / 2, 0)) + (dx, dy)], i, 0, 20) → Unit10
  25. If(page ≟ 1, correctPage1, page ∈ {2, 3, 4}, correctPage234, true) → fixed
  26. Sequence(Text[((i * 20) * "%"), A + (i * ((2 * dxUnit), 0)) + (dx, dy)], i, 0, 5) → Unit1u2
  27. Sequence(Text[((i * 10) * "%"), A + (i * (dxUnit, 0)) + (dx, dy)], i, 0, 10) → Unit5u10
  28. Sequence(Text[((i * 100 / teilerliste100umgekehrt(b)) * "%"), A + (i * ((100 / teilerliste100umgekehrt(b) / 10 * dxUnit), 0)) + (dx, dy)], i, 0, teilerliste100umgekehrt(b)) → Unit2
  29. Sequence(Text[((i * 100) * "%"), A + (i * ((10 * dxUnit), 0)) + (dx, dy)], i, 0, 1) → Unit0
  30. Sequence(Text[(i * "%"), A + (i * (dxUnit / 10, 0)) + (dx, dy)], i, 0, 100, 4) → l2
  31. Sequence(Text[(i * "%"), A + (i * (dxUnit / 10, 0)) + (dx, dy)], i, 0, 100, 4) → Unit25
  32. Sequence(Text[(i * "%"), A + (i * (dxUnit / 10, 0)) + (dx, dy)], i, 0, 100, 4) → Unit50_1
  33. Sequence(Text[(i * "%"), A + (i * (dxUnit / 10, 0)) + (dx + dxUnit50, dy + dyUnit50)], i, 2, 100, 4) → Unit50_2

AI Drawing Prompt Reference

Draw a bar chart to visualize percentages, where the full bar represents 100% and the lengths of the segments correspond to percentage values. The bar should contain multiple segments, each labeled with its corresponding percentage. Include tick marks below the bar showing percentages from 0% to 100% with 1% intervals. The bar should support interaction, allowing users to input a value, which then displays a mark on the bar corresponding to that value's percentage.
The prompt above was compiled from the original drawing commands and is for reference only.