🌍 Public
Viewing a saved revision (read-only)
e56a290bd11a4ad6ab60db565d580b23
Activity-6_Q2
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.