Skip to main content
100%

Bubble Plot: Messi vs Messi

✓ Published0🌍 Public
SSimon Hackbert
Last edited Nov 16, 2022
Created on Nov 2, 2022
Forked from D3 Starter

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes