Fork of Activity6_Task2.3
✓ Published0🌍 Public
A stacked horizontal bar chart displays the distribution of IMDb ratings across six film genres, with each bar segmented into five rating brackets from "below 5.0" to "above 8.5." The chart uses d3.stack to transform percentage data from a CSV file, d3.scaleBand for the genre axis, and d3.scaleLinear for the percentage scale. Interactive tooltips appear on mouseover, revealing the exact percentage for each genre-rating segment, while a color scale distinguishes the rating categories.
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