Skip to main content
100%

ACTIVITY 6_TASK 1

✓ Published0🌍 Public
Ppasumarthiraghuram21@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This example demonstrates how to load external libraries and local ES6 modules in a VizHub project. It uses the D3.js library, imported via UNPKG, to select a DOM element with `select` and set its text content. The code imports a message string from a local ES6 module called `myMessage.js` and displays it inside a div with the ID `message`. The accompanying stylesheet centers the text with a large font size. The example showcases basic D3 selection and module import patterns without any data visualization.

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