Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_Tutorial_3.1

Public visualization

Viewing a saved revision (read-only)

5797efea39da42acb761eebfa048e25d

Activity_Tutorial_3.1

0 stars0🌍 Public
Cchowdaryhemanth14@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025

This stacked bar chart displays mobile operating system market share percentages across five global regions, with colored segments for Android, iOS, and Other. Each region’s horizontal bar spans from 0 to 100 percent, and hovering over a segment reveals its exact value via a tooltip. The visualization uses D3 v7’s `d3.stack()` to transform the CSV data, `d3.scaleBand` for region positioning, `d3.scaleLinear` for percentages, and `d3.schemeSet2` for categorical colors. SVG rendering handles the axes, while mouse events update tooltip opacity and content.

AI-generated description