Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

3d02b9fe7fae40f9bdca0ee46377443e

Fork of Hello VizHub

0 stars0🌍 Public
MMatthew Rubino
Last edited Jun 2, 2021
Created on Jun 2, 2021
Forked from Hello VizHub

This example demonstrates a simple text output using D3.js. It displays the message "Hello VizHub!" combined with the result of a squaring function, shown in large centered text. The visualization loads D3 via UNPKG CDN and uses the `select` API to target the message div. The code imports a local ES6 module for the message and another for the square function, showcasing module imports within VizHub's framework.

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.