p5 bar chart
✓ Published0🌍 Public
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 descriptionA 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