Skip to main content
100%

Fork of vizhub_jaswanth_question_2

✓ Published0🌍 Public
JJaswanthkota@my.unt.edu
Last edited Nov 7, 2024
Created on Nov 4, 2024

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes