Skip to main content
100%

Fork of Activity6_task4 question

✓ Published1🌍 Public
Iiftequaruddin883@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity6_task3.2

This example demonstrates how to import and use D3 v5 and local ES6 modules within a VizHub project. It renders the text “Hello VizHub!” into a div element using the `select` function from D3, while the message content is exported from a separate `myMessage.js` module. The page also defines a constant and a regular expression in the main script, and applies centered 12em font styling via an external CSS file. The code illustrates basic module bundling and D3 DOM manipulation.

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