Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
NNohaS
Last edited Aug 30, 2023
Created on Aug 30, 2023
Forked from Hello VizHub

This example demonstrates how D3 and ES6 modules can be used to build a simple VizHub visualization. It loads D3 v5 from a CDN and uses `import { select } from 'd3'` to select the `#message` div and set its text. A separate local module, `myMessage.js`, exports the string 'Hello VizHub!' via `export const message`, which is then displayed. The page also includes a CSS file for styling the large centered text.

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