Skip to main content
100%

Activity6_Q3

✓ Published0🌍 Public
Sshivasaiamaravadi@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Activity-6

This example demonstrates the basic structure of a VizHub project, showing how an ES6 module exports a string that is then displayed on a webpage. It imports the `select` function from D3 v5 and the `message` constant from a local `myMessage.js` module, using `select('#message').text(message)` to render the text "Hello VizHub!" into the page. The example also loads D3 via a CDN script tag and includes a stylesheet for centering the message.

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