Skip to main content
100%

Pokemon Scatter Plot

✓ Published0🌍 Public
MMihir Sawant
Last edited Apr 8, 2019
Created on Sep 12, 2018
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between Special Attack and Special Defence stats for Pokémon from the PokeAPI dataset. Each circle represents a Pokémon, plotted along the x-axis for special attack and the y-axis for special defence, with a steelblue fill and 30% opacity. The visualization uses D3 v5 APIs including `scaleLinear` for axis scaling, `axisBottom` and `axisLeft` for the axes, and `scaleOrdinal` for color coding. The code loads the CSV data via `csv()` and converts the stat columns to numeric values. SVG rendering is used with a 960x500 canvas, and axis labels and a title are drawn using text elements styled with CSS.

AI-generated description

This scatter plot shows data about a couple of stats of Pokemon from the popular video games. The data was downloaded from the open sourced PokeAPI.

MIT Licensed

Similar vizzes