Bubble Plot: Messi vs Messi
✓ Published0🌍 Public
This bubble plot compares Lionel Messi’s goals and assists across seasons, with each bubble representing a year. Bubble size encodes the same metric as the Y-axis, while color represents the season. The chart uses D3 v4 with an SVG renderer, a linear scale for axes, a square-root scale for bubble radius, and a categorical color scale. Hovering reveals a tooltip with year details, and hovering a bubble dims all others to highlight the selected season.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed