Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
YYuta555
Last edited Nov 28, 2022
Created on Nov 28, 2022
Forked from Hello VizHub

This example displays the text “Hello VizHub!” centered in the viewport using a large font size. It demonstrates how to combine D3.js version 5 with ES6 modules, importing the `select` function from D3 via UNPKG and a custom `message` constant from a local file. The code uses `select('#message').text(message)` to set the content of a styled HTML div, showing basic DOM manipulation and modular JavaScript structure within a simple visualization scaffold.

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