Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

histogram by p5.js

Public visualization

Viewing a saved revision (read-only)

3fb302cd6ee9413e9423d55fa1efc70f

histogram by p5.js

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