Skip to main content
100%

Practice

✓ Published0🌍 Public
GGuan
Last edited Sep 13, 2024
Created on Sep 13, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, showing how to load D3 via UNPKG and use ES6 module imports for local code. It renders a static message, "Hello VizHub!", into a div using `d3.select` and `.text()`, with the text styled by an external CSS file. The code also highlights importing functions from D3 and a local `myMessage.js` module, serving as a template for project structure.

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