Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3.js in action - Section 1 - Ch 3

Public visualization

Viewing a saved revision (read-only)

a8c198e8aac047cb8a7032f805892f3d

D3.js in action - Section 1 - Ch 3

0 stars0🌍 Public
AAlbert
Last edited Mar 26, 2021
Created on Mar 26, 2021

This example visualizes World Cup team statistics across multiple metrics, with each team represented as a circle positioned along a horizontal axis. Clicking a button adjusts the circle radii and fill colors to reflect the selected attribute, while hovering highlights teams from the same confederation. The visualization uses D3.js v6 with SVG transitions to animate changes, and employs scales such as `d3.scaleQuantize` and `d3.scaleLinear` to map data values to colors and sizes, with color interpolation via `d3.interpolateHsl`. Data comes from a CSV file containing team performance records.

AI-generated description