p5 histogram
✓ Published0🌍 Public
This visualization displays a histogram of total infection counts for US states from 1970–1980, with bars representing binned data ranges up to 30,000. It uses p5.js to load a CSV dataset from a GitHub gist, render the chart on a 1000x1000 canvas, and provide interactive tooltips that appear on hover to show each bin’s range and frequency. The code draws axis labels, grid lines, and bars using p5’s `rect`, `text`, and `map` functions, with data processed via the `table.getColumn()` API.
AI-generated descriptionA health histogram
BTW: The data was simplified to help with creating this visualization.
Link to original dataset: https://corgis-edu.github.io/corgis/csv/health/
MIT Licensed