Skip to main content
100%

Activity-7.1 Q2

✓ Published0🌍 Public
Ttarun.chintada46@gmail.com
Last edited Nov 3, 2024
Created on Nov 3, 2024
Forked from Hello VizHub

This example shows an area chart of monthly day counts for the first half of the year, using a sample dataset with month names and number of days. The D3.js v7 code creates an SVG visualization with a steelblue filled area, scales using `d3.scaleBand` and `d3.scaleLinear`, and generates the path with the `d3.area` generator. Axes are added via `d3.axisBottom` and `d3.axisLeft`, with labels for both dimensions. The chart is built entirely with SVG elements appended to a container div.

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