Skip to main content
100%

Hello HTML

✓ Published0🌍 Public
Ddinen
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within the VizHub environment, displaying a static "Hello VizHub!" message. It loads D3 v5 from a CDN via UNPKG, imports the `select` function from D3, and uses it to set the text content of a `<div>` element. Additionally, it imports a local ES6 module (`myMessage.js`) to provide the message string. The page renders an empty SVG element and a styled message, with CSS controlling the message’s large, centered font. The code showcases modular imports and basic D3 selection.

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