Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
SSwavna
Last edited Jan 4, 2022
Created on Jan 4, 2022
Forked from Hello VizHub

This example demonstrates the basic structure of a VizHub project, showing how to load D3 via UNPKG and use ES6 modules to manage code. The visualization renders a single text message, "Hello VizHub!", centered on the page using the `select` function from D3 to set the text content of a div. It also imports a local module, `myMessage.js`, to supply the message string, and applies styling through an external CSS file. The code highlights D3’s integration with modern JavaScript module syntax and simple DOM manipulation.

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