Skip to main content
100%

Task2_Q2.3

✓ Published0🌍 Public
FFayezuddin Mohammed Khan
Last edited Nov 2, 2025
Created on Nov 1, 2025
Forked from HTML Starter

This stacked bar chart displays revenue breakdowns for major tech companies across four categories: Hardware, Software, Services, and Cloud. Using d3.csv to load local data and d3.stack to transform the dataset, the visualization employs a horizontal bar layout where each company’s total revenue is segmented by colored bars, rendered as SVG rectangles. The x-scale uses d3.scaleLinear for revenue values, while the y-axis uses d3.scaleBand for company names. A legend is manually appended to identify the color-coded categories.

AI-generated description
MIT Licensed

Similar vizzes