🌍 Public
Viewing a saved revision (read-only)
a6e00901a3004c57980959df7d1c272b
activity 6 task_2
This stacked bar chart shows the distribution of IMDb movie ratings across genres, with each bar segment representing the proportion of films in rating categories from "below 5.0" to "above 8.5." Hovering over a segment displays a tooltip with the exact percentage for that genre and rating level. Built with D3 v7, the visualization uses `d3.stack`, `d3.scaleOrdinal`, and `d3.axisLeft` to render the SVG, reading data from a CSV file. Mouse interactions trigger opacity changes and tooltip updates via D3's event handlers.
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.