Viewing a saved revision (read-only)
495aa9ff7b5f4acfa182729a04e72686
p5.js.histogram
This visualization shows a histogram of city MPG values for a sample of cars, displaying the count of vehicles across eight MPG bins. The p5.js sketch loads pre-aggregated data from a CSV file hosted on GitHub, then renders bars on an 800x800 canvas using the `rect()` API. The chart includes labeled axes, gridlines at 200-count intervals, and a title, with data sourced from the CORGIS cars dataset. The bars are drawn in blue against a light gray background, with the y-axis representing counts and the x-axis displaying MPG values.
AI-generated description(https://gist.github.com/eunicetu16/119ee3d3babaed5f263119abe3664f3f)
The original dataset is from "https://corgis-edu.github.io/corgis/csv/billionaires/" The dataset has been modified and filtered to have only two columns (inherited_type, Average worth in billions) The total worth has been grouped with different inherited types and the average wealth.