Skip to main content
100%

lohiact6_Task2

✓ Published0🌍 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
MIT Licensed

Similar vizzes