Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
NNagateja99
Last edited Jul 2, 2023
Created on Jul 2, 2023
Forked from Hello VizHub

This example demonstrates how to structure a minimal D3.js visualization within the VizHub environment, rendering the text “Hello VizHub!” in a centered `<div>` with large styling. It shows the workflow of importing the `select` function from D3 v5 via UNPKG, and also imports a local ES6 module `message` from `myMessage.js`. The code uses `select('#message').text()` to set the displayed content, while a CSS rule controls the font size and alignment.

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