Skip to main content
100%

Tributary inlet

✓ Published0🌍 Public
AAlexDaGr8
Last edited Nov 30, 2015
Created on Nov 30, 2015

This visualization uses a histogram layout to group ten U.S. states by their total child values, with each bin represented as a horizontal bar whose width encodes the bin’s count. The bars transition smoothly into place, using an ordinal y-scale for vertical positioning and a linear width scale scaled to the maximum bin length. Built with D3.js, the code relies on `d3.layout.histogram`, `d3.scale.linear`, `d3.scale.ordinal`, and chained `transition().attr()` calls to animate the rectangles, which are colored per index. The data comes from an inline gist, and the static SVG border is styled via an external stylesheet.

AI-generated description

Similar vizzes