🌍 Public
Viewing a saved revision (read-only)
5968a2254eb34b199baeb39caa6dc6e2
Deviation Chart
This deviation chart visualizes the stacked bar totals for eight animals across four numeric categories (A–D), with each animal’s bar segmented by group (Domestic, Pest, Africa, Marine). Built with D3 v5 and rendered as SVG, it uses `d3.stack()` to compute the series, `d3.scaleBand` for the animal axis, and `d3.scaleLinear` for the total-value range. Bars are colored via a custom ordinal scale mapping each group to distinct per-segment color schemes, with axes labeled from the CSV data.
AI-generated descriptionSimplified Stack bar for colouring bars by different groups http://bl.ocks.org/JimMaltby/844ca313589e488b249b86ead0d621a9