Skip to main content
100%

Untitled

✓ Published0🌍 Public
JJoshua Higginbotham
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from Untitled

This example demonstrates a stacked bar chart with diverging offsets, visualizing categorical data across ordinal x-values. The chart uses D3.js v7 to create an SVG rendering, with a Tableau10 color scheme distinguishing categories. The implementation employs D3's `stack` API with `stackOffsetDiverging` and `stackOrderNone`, mapping data through `d3.map` and `d3.rollup` to structure series. The interface includes a y-axis with gridlines and a monospace font, while interaction shows tooltips displaying x-value, category, and formatted y-value.

AI-generated description

A demonstration of visualization techniques on simple datasets using D3.

MIT Licensed

Similar vizzes