Skip to main content
100%

A5 Bubble Chart of Pokemon Stats from Gen 1 - Gen7

✓ Published0🌍 Public
AAllen Jake Polintan
Last edited Feb 27, 2024
Created on Feb 26, 2024
Forked from HTML Starter

This bubble chart displays a scatterplot of Pokemon stats from Generation 1 through 7, plotting Attack on the x-axis, HP on the y-axis, Speed as bubble radius, and Defense as bubble color. The code loads a CSV dataset, maps stat columns into numeric arrays, and renders the visualization as an SVG using d3.scaleLinear for all four encodings. Axes are drawn with d3.axisBottom and d3.axisLeft, and a d3-legend library provides size-encoding reference. Hover interactions and styling rely on CSS and the Quicksand font.

AI-generated description
MIT Licensed

Similar vizzes