Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Question 1: Bar Chart

Public visualization

Question 1: Bar Chart

0 stars1๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed