Skip to main content
100%

Untitled

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

This interactive stacked bar chart displays the sales distribution across cities for a selected customer segment, using data from a CSV file of store transactions. A dropdown menu filters by segment, while a checkbox toggles city sorting by total sales value. Built with D3 v5 and React, the visualization uses `d3.stack`, `d3.scaleBand`, and `d3.scaleLinear` to render the bars, with smooth transitions animated via `transition().duration()`. SVG elements and axes update dynamically in response to user selections.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes