Skip to main content
100%

Untitled

✓ Published2🌍 Public
SSarahKiyani
Last edited May 16, 2020
Created on May 16, 2020
Forked from React Starter

A dropdown menu selects a region, and a stacked bar chart animates to show the distribution of Furniture, Office Supplies, and Technology sales across cities. Each bar is segmented by category, with city names on the x-axis and total sales scaled on the y-axis. A checkbox toggles the sorting of bars by city name or by the derived segment total. The chart uses d3.csv to load the Superstore data, d3.stack for layering, d3.scaleBand and d3.scaleLinear for scales, and d3.transition to animate updates. SVG rendering with React centers the visualization.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes