Week 5: Pseudo-Visualization Pokemon Scatterplot
This D3.js scatterplot visualizes Pokémon base stats from a Kaggle dataset, plotting each creature's speed on the X-axis against an offensive-defensive balance score on the Y-axis, with circle radius encoding HP and color encoding elemental type (water, fire, grass, or other). The visualization centers both axes at the canvas midpoint, using `scaleLinear` for coordinate mapping and a custom overlap-detection algorithm in `hue-and-size.js` that adjusts point opacity based on colliding circles. Axes are rendered via `axisBottom` and `axisLeft`, while an SVG background rect and bold directional labels ("Fast," "Slow," "Offensive," "Defensive") orient the viewer.
AI-generated descriptionAuthor: Jacob Chlebowski - jachlebowski@wpi.edu Marks and Channels for Pokemon Scatterplot Dataset
The Pokemon Base Stats Dataset
- Point Marks by X, Y, Size
- SVG attributes
transformandfill - D3 Color Schemes
- Scaling factors
- SVG Rectangles
selection.each()- SVG Path Elements