p5.js.Strip Plot with jittering
✓ Published0🌍 Public
This p5.js example visualizes highway fuel efficiency for seven car makes, plotting each vehicle’s miles per gallon as a jittered point to reveal data distribution. The sketch loads a pre-cleaned CSV from a GitHub gist using `loadTable`, groups rows by make into a `Map`, and randomizes horizontal offsets via `random()`. Rendering uses Canvas drawing functions like `point()` and `line()` to create a strip chart with labeled axes, color-coded points, and a jitter effect that reduces overlap.
AI-generated descriptionThe original dataset is from 'https://corgis-edu.github.io/corgis/csv/cars/', and take only 'Identification.Make' and 'Fuel Information.Highway mpg'. Clean the dataset to have only 7 cars made that are needed.
MIT Licensed