Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Retail Sales Bar Chart

Public visualization

Viewing a saved revision (read-only)

b5777fd122f34f95b1f98d5d75a68d93

Retail Sales Bar Chart

0 stars0🌍 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