Skip to main content
100%

Assignment 2 Question 2

✓ Published0🌍 Public
Aakshayareddy224@gmail.com
Last edited Jul 9, 2024
Created on Jul 9, 2024
Forked from Hello VizHub

This example shows a smooth area chart of expenditure versus age, drawn as an SVG in D3 v7. It loads a CSV dataset from a GitHub repository and renders it with a linear x-scale and y-scale. The code uses `d3.area()`, `d3.curveMonotoneX`, `d3.axisLeft`, and `d3.axisBottom` to generate the path and axes, with custom axis labels and a chart title.

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