Skip to main content
100%

ques2 supriya

✓ Published0🌍 Public
SSupriya Ravilla
Last edited Apr 19, 2024
Created on Apr 19, 2024

This visualization displays a multi-series area chart comparing the proportions of different "makes" across categories, with each series represented as a filled area using a distinct color from the `d3.schemeCategory10` palette. The chart loads CSV data from a GitHub repository via `d3.csv`, then uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis. The `d3.area` generator defines the area shapes, while `d3.axisBottom` and `d3.axisLeft` render the axes. A legend with colored rectangles and text labels is added manually 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