Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bar

Public visualization

bar

0 stars1🌍 Public
Aabcz1234
Last edited Dec 29, 2019
Created on Dec 29, 2019
Forked from Face

A horizontal bar chart displays population figures for ten countries, sorted by value, with each bar’s length proportional to its population. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render SVG rectangles and axes. Data is loaded from a CSV file and parsed with `csv`. After initial rendering, the chart animates by applying a `transition` with a staggered `delay` to reposition the bars, though the animation targets undefined scales and does not visibly alter the chart.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed