🌍 Public
Viewing a saved revision (read-only)
e4497a68d1d94127af9c4b7c176725b9
Activity6_Task_1
This stacked bar chart visualizes the percentage distribution of movie ratings across different genres, split into five rating levels from "Below 5.0" to "Above 8.5". The horizontal bars for each genre are subdivided into colored segments, with a legend identifying each rating category. The visualization is built with D3 v7, using `d3.scaleBand` and `d3.scaleLinear` for positioning, and an ordinal color scale for the rating segments. Data is loaded from a CSV file and rendered as SVG rectangles.
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.