Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice 6 - q1

Public visualization

Viewing a saved revision (read-only)

9367a0c4f0a74b639c7e33343a373284

ice 6 - q1

0 stars1🌍 Public
AAravindReddyJanke@my.unt.edu
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from ice6 part 2

This bar chart shows the average sales for each product line from a GitHub-hosted CSV file, with each bar’s height representing the mean sales in USD. The chart uses D3 v7 to fetch the data via `d3.csv`, compute averages with `d3.rollup` and `d3.mean`, and render SVG bars with scales from `d3.scaleBand` and `d3.scaleLinear`. Interactive tooltips appear on mouseover, displaying the product line and its average sales. Axes and labels are generated using `d3.axisBottom` and `d3.axisLeft`.

AI-generated description