Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A7 Small Multiples

Public visualization

A7 Small Multiples

0 stars1🌍 Public
SShazil Taqi
Last edited Mar 19, 2024
Created on Mar 19, 2024

This visualization uses small multiples to compare four World Cup metrics—goals scored, teams, games, and attendance—as line charts over time. Each metric gets its own SVG chart with shared axes, making trends easy to scan. The code loads data from a CSV via `d3.csv`, parses numeric fields, and uses `d3.line` with linear scales for each chart. A color-coded legend, created with `d3.legendColor`, maps the four categories, while titles label each small multiple. The layout relies on D3 v7’s axis generators and a fixed SVG structure for consistent comparison.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed