Skip to main content
100%

ICE-5

✓ Published0🌍 Public
MMadan05101998
Last edited Mar 1, 2023
Created on Mar 1, 2023
Forked from Hello VizHub

This example renders a simple text message, "Hello VizHub!", centered on the page using D3 v5. It loads D3 from a CDN via UNPKG and uses the `d3.select` API to set the text content of a specific HTML div element. The code also demonstrates the use of local ES6 modules by importing a `message` string from a separate JavaScript file. The styling, including the 12em font size and centering, is defined in a local CSS file.

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