Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2_Question2

Public visualization

Viewing a saved revision (read-only)

99634f68cd604cbe89afdcf931287d7f

Activity6_Task2_Question2

0 stars0🌍 Public
Mmaheshsachin1234@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

An interactive stacked horizontal bar chart displays customer satisfaction ratings across five smartphone brands, segmented into Satisfied, Neutral, and Dissatisfied percentages that sum to 100%. Built with D3 v7, the visualization uses `d3.stack()` for data transformation, `d3.scaleBand` for brand categories, `d3.scaleLinear` for percentages, and SVG rectangles with click handlers that alert the rating type and exact percentage. The chart includes axes, a title, and a legend, derived from a CSV file containing three numeric columns per brand.

AI-generated description