Skip to main content
100%

Activity 6_Task 1

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

This example demonstrates how VizHub supports ES6 module imports and external library loading. It renders a simple text message centered on the page using D3 v5, imported directly from a CDN. The code uses `import { select } from 'd3'` to manipulate the DOM and displays a string from a local module called `myMessage.js`, showing the integration of local JavaScript files with external dependencies. The page styling comes from a linked stylesheet.

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