Skip to main content
100%

Week 4

✓ Published0🌍 Public
Aaschue
Last edited Apr 8, 2021
Created on Apr 8, 2021
Forked from Hello VizHub

This example displays a simple web page with the text “Hello VizHub!” centered and enlarged on the screen. It demonstrates the basic integration of D3.v5 into a project by importing the `select` function from the D3 API to target an HTML element and set its text content. The code also imports a local ES6 module, `myMessage.js`, to supply the displayed string. Styling is handled via an external CSS file, setting the message’s font size and alignment.

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