🌍 Public
Viewing a saved revision (read-only)
d022d1c38e544a83bdf52bb8da33e7e4
Task8_task2
This stacked bar chart visualizes the distribution of IMDb ratings across six movie genres, showing the proportion of films within each rating bracket as a fraction of one. The chart uses horizontal bars segmented by rating categories, with color coding to distinguish the five rating levels. Hovering over any segment reveals an exact percentage via a tooltip. The visualization is built with D3 v7, using `d3.stack` for data aggregation and `d3.scaleOrdinal` for color mapping. Data is sourced from a static CSV file, and the rendering is done through SVG elements.
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.