Task2_Q2.3
✓ Published0🌍 Public
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 descriptionMIT Licensed