Skip to main content
100%

Untitled

✓ Published0🌍 Public
SSarahKiyani
Last edited May 31, 2020
Created on May 31, 2020
Forked from Untitled

A stacked bar chart displays the distribution of sales across three product categories—Furniture, Office Supplies, and Technology—for each city in a Superstore dataset. Users select a customer segment from a dropdown menu and can toggle sorting by total sales or city order via a checkbox. Built with React and D3 v5, the visualization uses `d3.csv` to load data, `d3.stack()` to generate layered bars, and `d3.scaleBand` with `d3.scaleLinear` for axes. Smooth transitions animate changes with `transition.duration`, while labels show the total quantity per city.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes