My quiz
This example demonstrates an interactive quiz where users draw their guesses onto a chart and compare them against reference values. It presents two questions: one about the percentage of left-handed people and another about the number of Winter Olympics volunteers over time. The visualization uses the D3.js v5 library and the custom `youdrawit` chart module, which relies on D3’s data-binding and event-handling APIs to let users drag lines or bars. Reference values are overlaid as dashed lines or ticks, sourced from the provided dataset. The implementation includes styling from a linked CSS file and configurable text for instructions and results.
AI-generated descriptionAn example how to make a quiz with you-draw-it with displaying reference values.
For documentation see https://github.com/EE2dev/you-draw-it
Adopted the you-draw-it implementation from the great work at https://github.com/wdr-data/you-draw-it. Original idea developed by the New York Times.
forked from <a href='http://bl.ocks.org/EE2dev/'>EE2dev</a>'s block: <a href='http://bl.ocks.org/EE2dev/9d2f6823eb9914578bf1480f2a88902d'>you-draw-it reference values (with style)</a>