Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
HHarshavardhan
Last edited Mar 3, 2023
Created on Mar 3, 2023
Forked from Hello VizHub

This example renders a simple centered text message, “Hello VizHub!”, on a web page. It demonstrates the basic workflow of a D3 project within VizHub by loading the D3 library from UNPKG and using the `select` function to target a specific DOM element. The code also shows how to import and use a local ES6 module, `myMessage.js`, to supply the displayed string. The page’s styling is handled through an external CSS file, showcasing modular organization of code and assets.

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