Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

c9168e93f68c441c96d7a94a67add131

Fork of Hello VizHub

0 stars0🌍 Public
GGilda
Last edited May 11, 2021
Created on May 11, 2021
Forked from Hello VizHub

This example demonstrates the minimal structure of a VizHub project, where a static message is rendered to the page. It shows how to load D3.js from a CDN via UNPKG and use ES6 modules for local code organization. The code imports the `select` function from D3 and a `message` string from a local module, then sets the text of a `#message` div using `select('#message').text()`. Styling is applied through an external CSS file.

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.