Skip to main content
100%

Question 1: Bar Chart

✓ Published1🌍 Public
Sshreshnaanugu@gmail.com
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from HTML Starter

This bar chart visualizes total revenue aggregated by product from a CSV sales dataset fetched from a GitHub gist. Using D3 v7, it loads and processes the data with `d3.csv`, then applies `scaleBand` for the categorical x-axis and `scaleLinear` for the revenue y-axis. The SVG rendering includes value labels on each bar, rotated axis text, and a hover opacity transition. The bar chart displays a vertical layout with dollar amounts labeled, all within a styled container on a gradient background.

AI-generated description
MIT Licensed

Similar vizzes