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)

f1eba7d3d5ab4655981c78ef065f276e

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