🌍 Public
Viewing a saved revision (read-only)
81b19cf94ab141daa67866fe543741a5
Ass8_Task2
A stacked horizontal bar chart displays the percentage distribution of IMDb-style rating categories (e.g., "below 5.0," "5.0-6.5") across six movie genres, with a title "Rating according to genres." Each genre row is divided into colored segments representing five rating ranges, using D3 v7's `d3.stack()` and `d3.scaleOrdinal`. Interactive tooltips appear on mouseover, showing the exact percentage for each rating segment. The SVG rendering includes axes via `d3.axisBottom` and `d3.axisLeft`, with data from a 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.