Skip to main content
100%

task 8 question 2

✓ Published1🌍 Public
Vvchittimadha@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This example demonstrates a minimal VizHub project structure by displaying the text “Hello VizHub!” centered on the page. It uses D3 v5, loaded from a CDN, and imports the `select` function from the D3 library to set the text content of a `div` element. The code also illustrates ES6 module imports by using a local `myMessage.js` file that exports the message string, while a separate `styles.css` file controls the large font and text alignment.

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