Skip to main content
100%

A3 - Visualizing Distributions using P5

✓ Published0🌍 Public
AAndrew Blakeslee Moore
Last edited Feb 13, 2024
Created on Feb 13, 2024
Forked from HTML Starter

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 description
MIT Licensed

Similar vizzes