Distribution of ROD due to Cerebrovascular Diseases in the USA from 1999-2017
✓ Published1🌍 Public
SSanjana Rattan
Last edited Feb 11, 2025
Created on Feb 11, 2025
This interactive visualization displays the distribution of age-adjusted death rates due to cerebrovascular diseases (stroke) across U.S. states from 1999 to 2017, using a p5.js sketch. It includes a histogram that depicts the frequency of death rates for a selected year, controlled by a slider, alongside a scatter plot showing each state’s rate over time. The code loads data from a CSV via `loadTable`, filters it to exclude national and D.C. entries, and uses p5.js’s `min`, `max`, and color functions to compute bins and assign random state colors for visual distinction.
AI-generated descriptionMIT Licensed