🌍 Public
Viewing a saved revision (read-only)
ce835c68f824464281ee3e5529cc1a06
Task-8(Tutorial-2)
A stacked bar chart displays the percentage distribution of IMDb ratings across six movie genres, using five rating brackets from below 5.0 to above 8.5. The chart renders as SVG with D3.js v7, employing `d3.stack()` to compute stacked series and `d3.scaleOrdinal` for color mapping. Tooltips appear on mouseover, showing the exact percentage for each genre-rating segment using `d3.format`. Data comes from a local CSV file loaded directly in the script.
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.