Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 5 Bubble Plot D3

Public visualization

Viewing a saved revision (read-only)

d6acfd4753ad465b82be00e1177e75cc

Assignment 5 Bubble Plot D3

1 star5🌍 Public
Aahuynh8@dons.usfca.edu
Last edited Feb 27, 2024
Created on Feb 27, 2024

This bubble plot visualizes Pokémon Attack and Defense stats, with HP mapped to bubble size and Generation mapped to color. It uses a D3.js v6 SVG scatter plot, scaling x and y axes with `d3.scaleLinear` and applying `d3.scaleOrdinal` for the categorical color scale. The underlying CSV data is fetched via `d3.csv` and drawn as circles using the standard D3 selection, enter, and append pattern, with axes generated by `d3.axisBottom` and `d3.axisLeft`.

AI-generated description