Activity6 task2
✓ Published0🌍 Public
This example visualizes IMDb movie ratings across six genres using a horizontal stacked bar chart, with each bar divided into five rating brackets from below 5.0 to above 8.5. The chart is rendered as an SVG using D3 v7, loading the data from a CSV file and employing `d3.stack` for the stacked layout, `d3.scaleBand` for the genre axis, and `d3.scaleOrdinal` for color mapping. Interactive tooltips display the exact percentage for each rating segment on hover.
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