Q2
✓ Published0🌍 Public
This stacked bar chart shows the distribution of movie ratings across five genres, with each bar divided into percentage ranges from "Below 5.0" to "Above 8.5". The visualization loads data from a CSV file and uses D3 v7 APIs including `d3.stack`, `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom` to render the horizontal bars as SVG. Interactive tooltips display the exact percentage for each rating segment on mouseover, while a color scale maps rating categories to distinct hues.
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.
MIT Licensed