Skip to main content
100%

Activity_7.1_Question1

✓ Published1🌍 Public
Ppradeepgubbala2001@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within the VizHub environment, showing how to import functions from the D3 library and a local ES6 module. The code uses `select` from D3 to set the text of a `<div>` element to “Hello VizHub!”, which is defined in the separate `myMessage.js` module. It also includes a regular expression and a constant variable to illustrate basic JavaScript syntax. The page is styled with a centered, large-font message, and the D3 library is loaded via UNPKG.

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