Fork of vizhub_jaswanth_question_2
✓ Published0🌍 Public
This example visualizes rating proportions across different music genres using overlapping area charts. It loads CSV data from a GitHub repository and renders it as an SVG chart. The code uses D3 v6 APIs including `d3.csv` for data loading, `d3.scaleBand` and `d3.scaleLinear` for axes, and `d3.area` to generate filled regions for each genre series. Each area is colored with `d3.schemeCategory10`, with legend entries displayed to the right of the chart.
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