Skip to main content
100%

Activity-6

✓ Published0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

A minimal D3.js example displays the text “Hello VizHub!” centered in the browser. The code demonstrates importing D3 modules via UNPKG and loading a local ES6 module that exports the message string. It uses `select` from D3 to target the `#message` div and sets its text content. The example also includes a CSS stylesheet for styling and shows basic JavaScript syntax with a constant and regular expression.

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