Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello VizHub

Public visualization

Viewing a saved revision (read-only)

3d35bdfea6524a1ab69120e5285a49b2

Hello VizHub

0 stars6🌍 Public
YYehui Wang
Last edited Dec 15, 2019
Created on Dec 15, 2019
Forked from Hello VizHub

This example demonstrates a minimal D3.js visualization that displays a static text message, “Hello VizHub!”, centered on a dark blue page with large, styled typography. It shows how to integrate D3 with ES6 modules and external CSS. The code uses `d3.select` and the `.text` method to set the content of a `div` element, while `myMessage.js` exports the string as a module. The `index.html` loads D3 v5 and the compiled `bundle.js`, with styling provided by `styles.css`.

AI-generated description

An example showing the capabilities of VizHub.