🌍 Public
Viewing a saved revision (read-only)
c4726ae17a8a4119812cac8b1b7eb240
pepe
This example demonstrates a minimal web page that uses D3.js to display a text message. The page loads D3 v5 from the UNPKG CDN and uses the `select` API to target a div element with the ID "message", setting its text content to a string imported from a local ES6 module. The message is centered and styled with a large font size via an external CSS file, showcasing basic D3 DOM manipulation within a VizHub project structure.
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.