Sales Comparision by Segment per sub-category
✓ Published0🌍 Public
This visualization compares sales by customer segment across sub-categories using stacked horizontal bars, with segments distinguished by color. The bars are rendered as SVG rectangles, and hovering over a segment highlights it while dimming others. The code uses D3.js v3, including `d3.nest` and `d3.layout.stack` for aggregation and stacking, `d3.svg.axis` for scales, and `d3-tip` for tooltips. Data comes from a CSV file with sales records.
AI-generated descriptionMIT Licensed