🌍 Public
Viewing a saved revision (read-only)
b661f14a8c1d40e7ac04dd8f3356f978
Fork of Hello VizHub
This fork of Hello VizHub demonstrates a minimal D3.js setup, displaying the static text "Hello VizHub!" in the center of the page. The example shows how to import D3 functions via ES6 module syntax, using `select` from the D3 library to target the message div and set its text content. It also illustrates importing from a local ES6 module (`myMessage.js`) and loading D3 from the UNPKG CDN. The styling is handled through a linked CSS file, setting the font size and alignment.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.