Activity6_Task2
✓ Published0🌍 Public
This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, with each bar segmented by rating ranges from below 5.0 to above 8.5. The chart uses d3.stack() to compute the layered proportions and d3.scaleOrdinal for color mapping, rendered as SVG rectangles with interactive tooltips that display exact percentages on hover. Data comes from a local CSV file, and axes are generated using d3.axisBottom and d3.axisLeft.
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