Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Retail_Transactions

Public visualization

Retail_Transactions

0 stars0🌍 Public
KKOLLIPATI NIKHIL
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from D3 Starter

A bar chart displays total sales for product categories, aggregating the "Total Amount" field from a retail transactions CSV. The visualization ranks categories in descending order of sales. The implementation uses D3 v7 within an SVG canvas, employing `d3.csv` for data ingestion, `d3.rollups` with `d3.sum` for aggregation, and `d3.scaleBand` with `d3.scaleLinear` to construct the axes and bars.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed