HW6 Q2 small multiples
✓ Published0🌍 Public
This example presents a small multiples scatterplot showing Pokémon stats across generations, with each panel displaying attack versus defense values for one generation. Shared linear scales for both axes allow direct comparison between panels, while points are colored by Pokémon type using a Tableau10 ordinal scale. Built with D3 v7, the visualization loads CSV data from a GitHub gist and renders SVG circles, axes, and a legend. The code constructs reusable scales from the full dataset, then filters data per generation for each of the three-column grid of panels.
AI-generated descriptionMIT Licensed