Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

f5a59c7745304ad3bf6397b54ac51173

Fork of Hello VizHub

0 stars1🌍 Public
AAkinola Samson
Last edited Feb 12, 2024
Created on Feb 12, 2024
Forked from Hello VizHub

This fork of Hello VizHub demonstrates the core workflow of D3.js v5 with ES6 module imports, both from the local codebase and the D3 library itself. The example renders the text "Hello VizHub!" into a DOM element using the `select` function from D3, which is loaded via UNPKG. It also imports a custom message from a separate ES6 module, `myMessage.js`, to show modular code organization. The text is styled with a centered, 12-em font size defined in an external CSS file, showcasing how D3 code integrates with standard web styling.

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.