Skip to main content
100%

A2 Dot Chart

✓ Published1🌍 Public
Nnathanjmuljadi@gmail.com
Last edited Feb 3, 2025
Created on Feb 3, 2025
Forked from A2 Bar 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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes