activity_6task2
✓ Published0🌍 Public
This example shows a stacked bar chart of IMDb movie ratings across six genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5" on a percentage scale. The visualization uses D3 v7 to load CSV data, stack series with `d3.stack`, and render SVG rectangles with `d3.scaleOrdinal` for color encoding. Interactive tooltips appear on mouseover, and axes are generated via `d3.axisBottom` and `d3.axisLeft`, with the data sourced from the included CSV file.
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