Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task9_AreaChart

Public visualization

Task9_AreaChart

0 stars0🌍 Public
Jjyothirmaijyothi2017@gmail.com
Last edited Apr 28, 2024
Created on Apr 24, 2024
Forked from Hello HTML

This stacked bar chart visualizes sales, profit, and shipping costs across three shipping categories (Same Day, Second Class, First Class). The visualization uses D3.js version 7 to stack the three metrics for each category, using `d3.stack()` and `d3.scaleBand()` for the categorical x-axis. The data is embedded directly in the JavaScript code, and each bar segment is colored distinctly via a `d3.scaleOrdinal()` color scheme, with hover effects defined in the CSS.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed