Skip to main content
100%

ActivityHelloVizhub

✓ Published0🌍 Public
SSwapna1915
Last edited Jun 12, 2023
Created on Jun 12, 2023
Forked from Hello VizHub

This example demonstrates how to set up a minimal D3.js project in VizHub, showing a centered text message. It loads D3 v5 from UNPKG and uses ES6 module imports, including `select` from the `d3` package and a local `message` constant from `myMessage.js`. The code applies the message to a `#message` div, with CSS styling controlling its centered, large font appearance.

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