🌍 Public
Viewing a saved revision (read-only)
f5679c2bb2c440249d53ba0f99d0577a
Acitivity6_Task2
This stacked horizontal bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating categories from “below 5.0” to “above 8.5” as proportions of total films. The visualization uses `d3.stack` to accumulate the percentage data per genre, `d3.scaleOrdinal` with a custom color palette for category encoding, and `d3.axisBottom` with gridlines for the shared percentage scale. Interactive tooltips appear on mouseover, displaying the exact percentage for each rating segment, while the SVG rendering uses D3 v7 with 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.