Skip to main content
100%

Assignment 2 Heat Map

✓ Published1🌍 Public
Aahuynh8@dons.usfca.edu
Last edited Feb 5, 2024
Created on Feb 5, 2024

This heat map visualizes the average attack values of Pokémon across seven types—Bug, Dark, Fire, Grass, Ground, Normal, and Water—for six generations, using a purple sequential color scale from light to dark to indicate increasing attack ranges. Each type is displayed as a row of colored squares, with one square per generation, alongside a legend showing six bins (0–20, 20–40, up to 100+). The visualization loads CSV data from GitHub using p5.js’s `loadTable`, then renders the grid and labels with the Canvas API and `rect` and `text` functions in `draw()`.

AI-generated description
MIT Licensed

Similar vizzes