p5.js CSV Loader
✓ Published6🌍 Public
This example demonstrates scatter-like exploration of automobile data through a p5.js canvas. It visualizes engine efficiency by sizing randomly placed circles according to miles-per-gallon values from the loaded CSV dataset. The sketch uses p5.js `loadTable()` in the `preload()` function to fetch the cars.csv file, then reads the `economy (mpg)` column and maps its values to circle diameters. Drawing happens only once due to `noLoop()`, with dimensions ranging across the full 600-pixel canvas.
AI-generated descriptionAn adaptation of CSV File Loader in P5 by Alark Joshi that works in VizHub.
MIT Licensed