Task_8_Activity_2
✓ Published5🌍 Public
This visualization shows the percentage distribution of IMDb movie ratings across six genres, with each genre displayed as a horizontal stacked bar chart. The bars are divided into five rating categories ranging from "below 5.0" to "above 8.5." The code uses D3 v7 with d3.stack() to create the stacked segments, d3.scaleBand() for the y-axis, and d3.scaleLinear() for the x-axis. Interactive tooltips appear on mouseover to display exact percentage values using d3.format().
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