Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

1fca321117604fe1a77e79d1b41b052e

Fork of Hello VizHub

0 stars0🌍 Public
JJoyce Robbins
Last edited Dec 2, 2021
Created on Dec 2, 2021
Forked from Hello VizHub

This example demonstrates how to set up a minimal D3.js project within VizHub, showing a simple text message displayed in the center of the page. It loads D3 v5 from a CDN and uses the `select` API to update the content of an HTML element. The code also illustrates ES6 module imports, pulling a string from a local module and rendering it. A small CSS file centers the message with a large font size, while the HTML structure provides the container for the output.

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.