Skip to main content
100%

Untitled

✓ Published0🌍 Public
Hhyejinid
Last edited Jun 4, 2020
Created on Jun 4, 2020
Forked from Untitled

This example shows sales data for supermarket orders, broken down by city, with stacked bars representing categories like Furniture, Office Supplies, and Technology. A dropdown menu filters the display by customer segment, and a checkbox toggles between sorting bars by total sales or by city order. Built with React and D3 v5, it uses `d3.stack`, `d3.scaleBand`, and `d3.scaleLinear` to render the SVG chart, with `transition` methods animating updates when filters change. The data comes from a CSV file containing individual order records.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes