Skip to main content
100%

p5 dot plot

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

This dot plot visualizes the average number of infections by disease type, using a logarithmic scale to manage wide value ranges. The visualization highlights that measles has the highest average infection count, with annotations explaining its contagious nature. Built with p5.js, the sketch loads CSV data via `loadTable()` and renders interactive tooltips on hover, which display the exact infection numbers for each disease. The chart includes labeled axes, grid lines, and a custom color scheme on a dark background.

AI-generated description

A dot plot of Average Number of Infections by Disease.

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