Tributary inlet
✓ Published0🌍 Public
AAlexDaGr8
Last edited Nov 30, 2015
Created on Nov 18, 2015
This visualization displays a horizontal bar chart that animates the bars growing outward from the center of the SVG canvas. The chart encodes four data values as colored bars, with each bar’s length proportional to its numeric value, and it responds to window resizing by recalculating the layout. Built with D3.js, the code defines a custom chart function that uses SVG `rect` elements with transitions to animate the bars’ widths and positions, while text labels show the values. The animation runs on load, with each bar appearing sequentially, and mouse hover interactions temporarily enlarge bars. The visualization uses a categorical color scale and reads data from an inline array.
AI-generated description