Skip to main content
100%

histogram by p5.js

✓ Published0🌍 Public
AArbie Hsu
Last edited Feb 7, 2024
Created on Feb 7, 2024
Forked from line chart

This example visualizes the distribution of monthly airline delay totals across seven U.S. airports using a histogram. The p5.js script loads the `airline.csv` dataset, extracts the `Total` column, and groups values into ten bins to display the frequency of delay magnitudes. Bars are drawn as blue rectangles using p5.js `rect()` and `map()` functions onto an 800×600 canvas. The rendering is static, with the data loaded via `loadTable()` in the `preload()` lifecycle and drawn once in `setup()`.

AI-generated description
MIT Licensed

Similar vizzes