Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

p5 bar chart

Public visualization

Viewing a saved revision (read-only)

4c850e87779e4b708438da7759826080

p5 bar chart

0 stars0🌍 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 bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.