Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

993113631776428f8cbde8ef2818bc9c

Fork of Hello VizHub

0 stars0🌍 Public
Ssangeetha-gandhi
Last edited Jan 28, 2021
Created on Jan 28, 2021
Forked from Hello VizHub

This example demonstrates a minimal visualization that displays a static text message, "Hello VizHub!", centered on the page using a large font. It shows how to set up a basic VizHub project by loading D3 via UNPKG, importing D3 in the main JavaScript file, and separating code into local ES6 modules. The page structure is defined in HTML with a `<pre>` element, while the message is exported from a separate module and injected into the DOM. Styling is handled through a simple CSS rule that centers the text and sets its font size.

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.