Skip to main content
100%

Visitors

✓ Published1🌍 Public
Nnishu2511
Last edited Mar 11, 2021
Created on Mar 11, 2021
Forked from Hello VizHub

This example displays a large, centered "Hello VizHub!" message on a plain webpage. It demonstrates how to load D3 as a global script via UNPKG while also using ES6 `import` statements for D3’s `select` function and a local module. The code selects the `#message` div and sets its text content with the imported string, while CSS controls the font size and alignment.

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