Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

1cd851b6a2c84265a1ccfbcd5d044c38

Fork of Hello VizHub

0 stars0🌍 Public
Ddharchudivan@gmail.com
Last edited Aug 9, 2024
Created on Aug 9, 2024
Forked from Hello VizHub

This example demonstrates how to use VizHub to load D3 and local ES6 modules in a minimal web page. It uses the `d3.select` API to set the text content of a `div` element with the message “g”, imported from the `myMessage.js` module. The page includes D3 v5.16.0 from UNPKG, renders a single styled message centered with CSS, and shows a basic pattern for combining CDN libraries with local 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.