Skip to main content
100%

Assignment 6 sowjanya

✓ Published0🌍 Public
Ssaisowjanyaedupuganti.24f@gmail.com
Last edited Oct 19, 2025
Created on Oct 18, 2025
Forked from BarChart

This bar chart displays the average sales for each product category from a store dataset loaded from a GitHub-hosted CSV file. The visualization uses D3 v7 and renders as an SVG, with `d3.scaleBand` mapping product names to the x-axis and `d3.scaleLinear` mapping average sales values to the y-axis. The code aggregates the raw data using `d3.rollups` and `d3.mean` to compute per-product averages before drawing steelblue rectangles. Both axes are labeled, and a chart title is added above the plot.

AI-generated description
MIT Licensed

Similar vizzes