Skip to main content
100%

Activity-7_ Q2

✓ Published1🌍 Public
1180030215cse@gmail.com
Last edited Nov 9, 2024
Created on Nov 9, 2024
Forked from Hello VizHub

This area chart displays monthly sales data for 2023, with months on the x-axis and sales in USD on the y-axis. The visualization uses D3 v6, loading data from a remote CSV file via `d3.csv`. It demonstrates modular ES6 imports, including a local `areachart.js` module that uses `d3.area()` to generate the filled path, `d3.scaleBand()` for the categorical x-axis, and `d3.scaleLinear()` for the continuous y-axis. The SVG rendering includes axis labels and a green-filled area.

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