Activity6_Task2
✓ Published1🌍 Public
This example visualizes the distribution of IMDb movie ratings across six genres using a stacked horizontal bar chart. It loads data from a CSV file and uses d3.stack to create the stacked segments, with d3.scaleOrdinal assigning colors to rating categories. The chart includes axes, a title, and interactive tooltips that display the exact percentage for each rating band on mouseover, using d3.axisBottom and d3.scaleBand for layout.
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