Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

d25f82691ee24e4b9774e21d87b1901f

Fork of Hello VizHub

0 stars0🌍 Public
RRobertWell
Last edited Mar 9, 2021
Created on Mar 9, 2021
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, rendering the text “Hello VizHub!” into a centered message div. It highlights fundamental workflow patterns: loading D3 v5 from UNPKG, importing the `select` function via ES6 modules, and importing a local module (`myMessage.js`) for the message content. The visualization is a simple static text output, with styling applied through an external CSS file. The code illustrates the basic structure for combining CDN-hosted libraries with modular JavaScript.

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.