My quiz
This example shows a Minecraft-themed quiz where viewers guess numeric answers, such as the number of biomes or the sea level, and compare their responses to the correct values. It visualizes each question as a single chart with a drawn line representing the user’s guess. Built with D3 v5 and the youdrawit library, the code defines questions in a JavaScript array and renders them using the `youdrawit.chart()` API, which handles interactive drawing and scoring. The page also loads custom CSS and the youdrawit script from a GitHub-hosted source.
AI-generated descriptionAn example how to make a quiz with you-draw-it.
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.