Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task 2

Public visualization

Activity 6 Task 2

0 stars0🌍 Public
Nnalinreddy96@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from HTML Starter

A stacked horizontal bar chart displays car sales percentages across six regions for five vehicle types. The chart uses d3.scaleBand for regional categories and d3.scaleLinear for the percentage scale, with d3.stack organizing the cumulative segments. Data from a CSV file is rendered as SVG rectangles, colored via d3.scaleOrdinal, and includes interactive tooltips on mouseover showing exact percentages.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed