Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q2_AreaChart

Public visualization

Viewing a saved revision (read-only)

8b415805052e45b18fdc6d82278fa4da

Q2_AreaChart

0 stars0🌍 Public
Sshaiksajidali
Last edited Apr 17, 2024
Created on Apr 17, 2024

A D3 area chart displays a time series with a filled region beneath the line. The example loads D3 v5 from unpkg and uses the `select` API to populate a single `div` with a text message. The page imports a local ES6 module (`myMessage.js`) to supply the string content, while CSS centers the text at a large font size. Rendering relies on a plain HTML body and a bundled JavaScript script.

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.