Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 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.
MIT Licensed

Similar vizzes