🌍 Public
Viewing a saved revision (read-only)
46c4268f0fa04efa8612aa850822575d
Fork of Hello VizHub
A stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, using horizontal bars segmented by five rating categories from below 5.0 to above 8.5. The chart shows that genres like Documentary skew toward higher ratings, while Action has more low ratings. Hovering over a bar segment displays the exact percentage for that rating level. The visualization uses D3 v7 with `d3.stack`, `d3.scaleOrdinal`, and `d3.scaleLinear`, rendering SVG elements with a custom tooltip for interaction.
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.