Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Mm.tareq200558@gmail.com
Last edited Jun 13, 2024
Created on Jun 13, 2024
Forked from Hello VizHub

This example displays the text “Hello VizHub!” inside a centered HTML element, demonstrating how to integrate D3 and local ES6 modules in a VizHub project. The code imports the `select` function from D3 via UNPKG and a custom `message` constant from a local module, using `select('#message').text(message)` to set the text. It also includes a stylesheet for the large, centered typography. The example serves as a minimal template for loading dependencies and structuring modular JavaScript code.

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