csce 5320assignment 2 question 2
✓ Published0🌍 Public
This example visualizes the proportion of ratings across multiple genres as a layered area chart. It loads CSV data from a GitHub repository using `d3.csv`, then constructs the chart with D3 v6’s `d3.area`, `d3.scaleBand`, `d3.scaleLinear`, and axis generators, rendering to SVG. A legend maps each series to a color from `d3.schemeCategory10`. The chart includes axis labels and a fixed layout with a right-side margin for the legend.
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