Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

lohiact6_Task2

Public visualization

Viewing a saved revision (read-only)

2438af8f65fe47878f0e5786eb415f83

lohiact6_Task2

0 stars0🌍 Public
LLohitha Konidena
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This stacked horizontal bar chart shows the distribution of user ratings across eight music streaming platforms, with each bar divided into five rating categories from below 5.0 to above 8.5. The visualization uses D3 v7 with the d3.stack() function to generate stacked series data, d3.scaleBand() for the categorical platform axis, and d3.scaleLinear() for the percentage axis. The SVG renderer displays color-coded segments via d3.scaleOrdinal() with a manually defined color palette, while d3.axisBottom() and d3.axisLeft() create the chart's axes.

AI-generated description