🌍 Public
Viewing a saved revision (read-only)
4067cbc02b074610b2b74d91b0c087ef
Task-8 Tutorial-2
This stacked bar chart shows the percentage distribution of IMDb movie ratings across six genres, from documentary to action. Each horizontal bar is segmented into five rating categories, from “below 5.0” to “above 8.5”, with a mouseover tooltip revealing the exact percentage for each segment. The visualization is built with D3 v7, using `d3.stack` to create the stacked data, `d3.scaleLinear` and `d3.scaleBand` for axes, and `d3.axisBottom` for the percentage scale. Data is loaded from a CSV file, and the SVG rendering includes a legend and axis labels.
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.