Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
PPofii807
Last edited Nov 22, 2023
Created on Nov 22, 2023
Forked from Hello VizHub

This example demonstrates how VizHub supports integrating D3.js with ES6 modules, displaying a simple “Hello VizHub!” message in a styled div. It loads D3 v5 from UNPKG and uses the `select` API to update the text content of an HTML element. The code also showcases importing local modules, such as `myMessage.js`, and includes CSS styling for centered, large text. The example serves as a minimal template for combining D3, modular JavaScript, and external libraries in a browser environment.

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