Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

IMDI rating

Public visualization

Viewing a saved revision (read-only)

f78e02adc4204b7d9810a568e10866b2

IMDI rating

0 stars0🌍 Public
JJayanthKumarkoni
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This example displays the text “Hello VizHub!” in a large, centered layout using D3’s `select` method to target a div with the ID `message`. It demonstrates loading D3 v5 from a CDN via UNPKG and importing a local ES6 module, `myMessage.js`, which exports the displayed string. The code shows a minimal setup with a `styles.css` file controlling font size and alignment, illustrating how to combine external libraries, local modules, and styling in a single visualization template.

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.