Skip to main content
100%

Activity 7 question 2

✓ Published0🌍 Public
AAamani Chamarthi
Last edited Nov 7, 2024
Created on Nov 7, 2024
Forked from Hello VizHub

This example visualizes genre ratings as a filled area chart, with each genre represented as a distinct colored area overlaid on a shared axis. The chart loads CSV data from a GitHub repository via `d3.csv`, uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, and renders paths with the `d3.area` generator. It includes axis labels, a title, and a legend built with SVG rectangles and text. Colors come from `d3.schemeCategory10`.

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