Skip to main content
100%

Activity6_Question1

✓ Published0🌍 Public
CChandra Prakash Reddy Kalwakolu
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This example demonstrates the basic setup of a VizHub project, displaying the text “Hello VizHub!” in the center of the page using a large font size. It loads D3 v5 from a CDN and uses the `select` function from the `d3` module to set the text content of a `<div>` element. The code also illustrates local ES6 module imports through a separate `myMessage.js` file that exports the message string. The page structure is defined in `index.html`, while styling is applied via `styles.css`.

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