🌍 Public
Viewing a saved revision (read-only)
8f13912a56194333ad35a7a3970106e8
Week 4: Pokemon Simple Scatter Plot
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 descriptionCredit to @curran
Adding labels to our X and Y axes with D3.