Skip to main content
100%

p5 bar chart

✓ Published0🌍 Public
AAndrew
Last edited Feb 6, 2024
Created on Feb 6, 2024
Forked from HTML Starter

This p5.js bar chart visualizes the distribution of diseases from a simplified 1968 health dataset. It shows infection counts for various diseases, highlighting the lower number of Measles cases due to the introduction of the vaccine in 1963. The chart uses a dark background, axes, and labels, with interactive tooltips that appear on hover for each bar. The tooltip displays the disease name and its total infection count, implemented using the p5.js `loadTable` function and mouse-position checks via a custom `isMouseOverTooltip` function.

AI-generated description

A bar chart of Distribution of Diseases in 1968.

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

Similar vizzes