🌍 Public
Viewing a saved revision (read-only)
11269843e25846f6b56a129e6d44250b
Activity-6 Q2
This stacked bar chart displays the distribution of IMDb movie ratings across eight genres, showing the proportion of films falling into each rating bracket from “below 5.0” to “above 8.5.” The horizontal bars use d3.stack with d3.scaleOrdinal for color coding, with axes rendered via d3.axisLeft and d3.axisBottom on an SVG canvas. Hovering over any segment triggers a tooltip that displays the exact percentage for that rating level within the genre, with opacity changes and event listeners from d3-selection. Data originates from a CSV file loaded with d3.csv.
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.