Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Untitled

0 stars0🌍 Public
CCasado7
Last edited Apr 3, 2023
Created on Apr 2, 2023
Forked from HTML Starter

A stacked bar chart displays percentages for ten soccer match statistics, such as shots, possession, and passes, with two contrasting categories compared per category. Built with D3 v7 and SVG, the visualization uses `d3.stack()` to compute the stacked layout and `d3.scaleLinear` for the percentage axis. Bars animate sequentially using `d3.transition()` with staggered delays and an `easeLinear` timing. The chart omits axis labels and draws category names as text elements placed manually via a loop.

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