Skip to main content
100%

ICE_6

✓ Published1🌍 Public
99176371431
Last edited Mar 3, 2023
Created on Mar 3, 2023
Forked from Hello VizHub

This example displays a bold, centered message reading "Hello VizHub!" using D3.js version 5, loaded directly from the UNPKG CDN. The visualization demonstrates how to import D3’s `select` function to target the `#message` div and set its text content. It also showcases the use of local ES6 modules, with the message string defined in a separate `myMessage.js` file and imported via `import { message }`. The page’s styling comes from a linked `styles.css` file, which sizes the text at 12em and centers it horizontally. The example serves as a minimal proof-of-concept for combining external libraries, local modules, and CSS in a single VizHub project.

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