🌍 Public
Viewing a saved revision (read-only)
0d7d89c9e0c14626b5209ab8b7ae59e0
A2 Dot Chart
This visualization plots the ages of individuals involved in U.S. police shootings against the frequency of shootings per age, using a dataset loaded from a GitHub-hosted CSV file. The chart displays axes with linear scales, tick marks, and labeled counts, with blue dots representing each age-to-count pair. The code uses p5.js’s `loadTable` function to parse the CSV, and `createCanvas` with `map` to position elements. It draws the scatter plot and axes using p5.js drawing functions like `ellipse`, `line`, and `text`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.