🌍 Public
Viewing a saved revision (read-only)
b5d1e04eec4141ac921eadf5f15afecf
Fork of Hello VizHub
This example demonstrates how to display a custom text message using D3.js version 3, loaded via UNPKG. It uses the `select` function from D3 to target an HTML element with the ID `message` and set its text content. The message text is imported from a local ES6 module, showcasing modular code organization. The styling is handled through CSS, with a centered, large font size.
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.