Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A3 - Visualizing Distributions using P5

Public visualization

A3 - Visualizing Distributions using P5

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed