🌍 Public
Viewing a saved revision (read-only)
34e2a98fdcd14074b81f70bdf449f028
Activity 6
This stacked bar chart shows the percentage of IMDb ratings across five levels for six movie genres, highlighting how genre influences rating distributions. The code uses d3.stack() to create the stacked series, d3.scaleOrdinal() for color encoding, and d3.axisBottom() and d3.axisLeft() for axes. Hover interactions trigger tooltip pop-ups displaying exact percentages via d3.format. The visualization renders in SVG, with data loaded from a CSV file containing genre and rating proportions.
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.