Skip to main content
100%

Assignment 4 ScatterPlot D3

✓ Published0🌍 Public
Aahuynh8@dons.usfca.edu
Last edited Feb 21, 2024
Created on Feb 21, 2024

This scatter plot visualizes the relationship between Attack and Defense stats for Pokémon, with each circle representing a single Pokémon. The visualization uses D3 v6 to load CSV data from a GitHub gist and render an SVG chart with linear scales mapping attack values to the x-axis and defense values to the y-axis. The code explicitly uses d3.csv, d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.selectAll to create the circles, axes, and labels, while styling circles with a mediumpurple fill and black stroke.

AI-generated description
MIT Licensed

Similar vizzes