Activity6_Task2
✓ Published1🌍 Public
This example visualizes IMDb movie ratings by genre, showing the percentage distribution of ratings across five rating brackets for six genres. The stacked horizontal bar chart uses D3 v7's `stack()` and `scaleBand` to compose the data, with each genre row containing proportional segments colored via `scaleOrdinal`. Interactive tooltips on `mouseover` reveal the exact percentage values for each segment. The visualization loads data from a local CSV file and renders the output as an SVG, incorporating custom fonts and axis styling.
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