Skip to main content
100%

Untitled

✓ Published0🌍 Public
SSarahKiyani
Last edited Jun 1, 2020
Created on May 28, 2020
Forked from Untitled

This visualization is an interactive, stacked bar chart that compares total sales by Segment across Sub-Categories of products, filtered by Region via a dropdown menu. It also includes a checkbox to toggle the sort order of the bars. The chart is implemented in React, using the D3 v5 library, and renders as an SVG with animated transitions (`.transition()`) when the filter or sort changes. The data is loaded from a CSV file containing order details, and the chart uses D3's `scaleBand`, `scaleLinear`, and `scaleOrdinal` for axes and color encoding, along with `enter`, `exit`, and `merge` operations to update the bars and labels.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes