Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 2 Dot Chart

Public visualization

Viewing a saved revision (read-only)

50cc4b1c9aa04b2d89a0f0d58de03932

Assignment 2 Dot Chart

0 stars1🌍 Public
Aahuynh8@dons.usfca.edu
Last edited Feb 13, 2024
Created on Feb 5, 2024

A p5.js dot chart displays the number of Pokémon per generation across six generations. It loads data from a CSV file containing Pokémon stats, counts entries by generation, and plots the resulting totals as points along a horizontal count axis. The visualization uses p5.js functions including `loadTable`, `createCanvas`, `line`, `point`, and `text` to render axes, tick marks, labels, and data points on a 450×425 canvas. The chart shows that Generation 1 has the highest count, with subsequent generations progressively lower.

AI-generated description