Skip to main content
100%

Activity4_Task5

✓ Published1🌍 Public
SSwapna1915
Last edited Jul 3, 2023
Created on Jul 3, 2023
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup that renders a static message on a webpage. It shows how to load D3 v5 via UNPKG, import the `select` API function, and use an ES6 module for a local string constant. The code selects a `div` element by its ID and sets its text content to "Hello VizHub!", with the text styled using a CSS rule. The visualization relies on D3’s DOM selection method rather than any data binding or scales.

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