Skip to main content
100%

Retail Sales Bar Chart

✓ Published0🌍 Public
KKOLLIPATI NIKHIL
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from HTML Starter

This bar chart displays total retail sales by product category, from a CSV dataset that is grouped and summed with `d3.rollups` and `d3.sum`. The top ten categories are sorted descending and rendered as steel-blue rectangles using an SVG `scaleBand` and `scaleLinear`. Axis labels are rotated via `d3.axisBottom`, and the chart includes a title and y-axis gridlines generated with `d3.axisLeft`.

AI-generated description
MIT Licensed

Similar vizzes