Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
SSANEEM MOHAMMAD
Last edited Mar 2, 2023
Created on Mar 2, 2023
Forked from Hello VizHub

This example demonstrates how a minimal D3 project can load libraries from a CDN and use ES6 modules to compose a simple visualization. It shows a single div element whose text content is set to “Hello VizHub!” using the `select` function from D3 v5. The code imports `select` from the `d3` namespace and a custom `message` string from a local `myMessage.js` module. Styling comes from an external CSS file, and the page structure is defined in `index.html`.

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