Skip to main content
100%

TD2 new

✓ Published0🌍 Public
GGinnWG
Last edited Oct 3, 2022
Created on Oct 3, 2022
Forked from dboard

This visualization presents a stacked bar chart that breaks down the number of orders by product category using the provided Superstore sales data. The chart displays three categories on the x-axis, with each bar segmented to show the proportions of different subgroups. Built with D3 v4 within a Vue framework, the code uses `d3.csv` to parse the data, `d3.stack()` to structure the stacked segments, and `d3.scaleBand` and `d3.scaleLinear` for positioning. The SVG output is rendered into a grid layout with four plot areas, though only the first plot is populated in this example.

AI-generated description
MIT Licensed

Similar vizzes