Skip to main content
100%

p5.js.boxplot

✓ Published0🌍 Public
EEunice Tu
Last edited Feb 8, 2024
Created on Feb 8, 2024
Forked from p5.js.histogram

This p5.js visualization shows a boxplot of car engine horsepower across different models from 2009–2012, using data from the CORGIS cars dataset. The sketch loads a CSV via `loadTable()` in `preload()`, then calculates the minimum, quartiles, median, and maximum values from the horsepower column. It draws tick marks, axis labels, and statistical summary annotations using p5.js canvas API functions like `line()`, `rect()`, and `text()`. The dark background and white strokes highlight the distribution of horsepower in the sample.

AI-generated description

'https://gist.githubusercontent.com/eunicetu16/52e4ae9a6d805d41140aef9dc0a70b4f/raw/cfbe25e0656722e0005d56ab5cbae8170a5fc515/horsepower.csv'

The original dataset is from 'https://corgis-edu.github.io/corgis/csv/cars/', and take only 'Identification.Year' and 'Engine Information.Engine Statistics.Horsepower' columns.

MIT Licensed

Similar vizzes