Skip to main content
100%

Fork of Fork of Untitled

✓ Published0🌍 Public
VVenkat-Sumith-Thota
Last edited Jul 21, 2023
Created on Jul 21, 2023
Forked from Fork of Untitled

This example demonstrates a simple ES6 module and D3.js setup within VizHub, displaying the text “Hello VizHub!” centered on the page. It loads D3 via UNPKG and uses the `select` function from D3 to set the text content of a `#message` div. A local module, `myMessage.js`, exports the string, which is imported in `index.js`. The styling is defined in an external CSS file for 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