Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Cchenxlong3
Last edited Sep 28, 2021
Created on Sep 26, 2021
Forked from Hello VizHub

This example displays a single centered message, "Hello VizHub!", using D3’s `select` method to target a div by ID and set its text content. It demonstrates loading D3 v5 via UNPKG and importing a local ES6 module (`myMessage.js`) that exports a string constant. The page structure is defined in `index.html`, with styling from `styles.css` that centers the text and sets a large font size. The visualization highlights how to combine external library imports with modular JavaScript code in a D3-based project.

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