Trapezoid Charts
✓ Published0🌍 Public
SSpaceActuary
Last edited Mar 11, 2016
Created on Mar 11, 2016
This example shows a group of trapezoid-shaped bar charts representing yearly data across three values: prior, actual, and expected. A button triggers a randomize function that regenerates the data and animates the transitions over one second. Each trapezoid’s fill color changes to crimson or seagreen depending on whether the actual value exceeds the expected value. The visualization uses d3.v3 with SVG paths, a linear scale for the y-axis, an ordinal scale for the x-axis, and d3.svg.line to construct trapezoid geometries.
AI-generated descriptionforked from <a href='http://bl.ocks.org/SpaceActuary/'>SpaceActuary</a>'s block: <a href='http://bl.ocks.org/SpaceActuary/29c2c89bcdf66c2553c2'>Bar Chart Transitions - Positive to Negative</a>