Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Iindushashi.g@gmail.com
Last edited Jun 12, 2023
Created on Jun 12, 2023
Forked from Hello VizHub

This example demonstrates a minimal “Hello VizHub!” application, rendering the message centered on the page using D3.js. It shows how to load D3 v5 from a CDN via UNPKG, use ES6 module imports to bring in the `select` function from the D3 library, and define custom local modules for sharing code. The visualization sets the text content of a `div` element with the id `message` using D3’s `select` and `.text` methods, styled by a separate CSS file. The data source is a simple hardcoded string from a local module.

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