Skip to main content
100%

Week 4: Pokemon Simple Scatter Plot

✓ Published0🌍 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

Author: Jacob Chlebowski - jachlebowski@wpi.edu , with credit to @curran for setting up axis and margins

Additions: Click on any of the points of data and it will display the name of the pokemon you clicked

The Pokemon Base Stats Dataset

MIT Licensed

Similar vizzes