🌍 Public
Viewing a saved revision (read-only)
ff24eceb3eb64b09801d822dcb9ed717
A3 - Visualizing Distributions using P5
A bar chart visualizes the maximum hours of music listened to per day across ages 10 to 65, using data from a CSV file. The p5.js library handles canvas rendering, while the `loadTable` API preloads and parses the remote data. Bars are drawn with `rect` calls, with axis ticks and labels positioned manually. The chart aggregates hourly values by age, filtering out hours exceeding 24, and displays purple bars against a white background with gridlines.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.