Catalog108 / challenges / dynamic/canvas/chart

Chart drawn on canvas

intermediate Matching curriculum →

What this challenge teaches

Teaches: A bar chart is drawn on a <canvas>. The underlying data array is in a <script> with id="chart-data".

Expected output: Find the data array, parse the JSON; don't try to read the pixels.

Submit your scraper's JSON output to /challenges/dynamic/canvas/chart/grade (grader endpoint is part of a later phase; URL is reserved now).

The chart is drawn on canvas (no readable text), but the underlying values are in <script id="chart-data">.