Skip to main content
100%

TD Hello VizHub

✓ Published0🌍 Public
TTatjana Dzambazova
Last edited Oct 31, 2021
Created on Oct 31, 2021
Forked from Hello VizHub

This example demonstrates how to structure a minimal D3.js visualization project in VizHub, displaying the text “Hello VizHub!” in a large, centered font. It shows a complete workflow: loading D3 from a CDN, importing individual `select` from the D3 library, and using a local ES6 module (`myMessage.js`) to supply the text content. The code relies on the `d3.select` API to target a `div#message` element and set its text, while CSS handles the styling. No data manipulation or computing is involved; the focus is on module imports and embedding D3 efficiently.

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