Activity-6_Q2
✓ Published0🌍 Public
This stacked bar chart visualizes the percentage distribution of music rating categories (below 5.0 to above 8.5) across five streaming platforms, including Spotify, YouTube, Apple, Amazon, and Tidal. Each horizontal bar segment represents a rating category’s proportion, colored via a categorical scale, with hover tooltips showing the exact percentage for each genre. The visualization uses D3.js v7, employing `d3.stack()` for data stacking, `d3.scaleBand()` for the y-axis, and `d3.axisBottom()` for the x-axis. SVG rendering with custom CSS styles and a legend displays the data from the provided CSV file.
AI-generated descriptionMIT Licensed