Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Week 4: Pokemon Simple Scatter Plot

Public visualization

Viewing a saved revision (read-only)

8f13912a56194333ad35a7a3970106e8

Week 4: Pokemon Simple Scatter Plot

0 stars0🌍 Public
JJacob Chlebowski
Last edited Oct 5, 2024
Created on Sep 14, 2024
Forked from Axis Labels

This scatter plot maps Pokémon Attack and Speed stats from the Kaggle Base Stats Dataset as circles, with click interactions revealing each creature’s name via alert. Built with d3 scaleLinear, axisLeft, extent, xAxis, and yAxis, it renders axes, labels, and a gray inner rectangle. The viz.js component handles data binding and scales, while index.js configures dimensions and margins. Circle radius and opacity are derived from the plot width and a fixed ratio.

AI-generated description

Credit to @curran

Adding labels to our X and Y axes with D3.