🌍 Public
Viewing a saved revision (read-only)
00aaadcbcc234786a460b5c08d921658
TASK-8
This stacked bar chart visualizes the distribution of IMDb rating categories across six video game genres, using percentages that sum to 100% for each genre. The D3.js v7 code builds the horizontal bars with `d3.stack()` and `d3.scaleOrdinal` for color mapping, while hover interactions trigger tooltips showing precise percentage values via `d3.format`. The SVG rendering includes a linear x-axis for percentages and a band scale for genres, with data loaded from a CSV file displaying five rating brackets from below 5.0 to above 8.5.
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.