🌍 Public
Viewing a saved revision (read-only)
f77609344f3247dcbea7562bc62a36c1
Test
This example displays a simple text message inside a web page. It uses D3.js version 5 to select a div element and update its content with a string imported from a separate ES6 module. The page structure is defined in HTML, with styling applied via a linked stylesheet, and the JavaScript logic is bundled into a single script. The visualization demonstrates a minimal setup for combining modular JavaScript code with D3’s selection and manipulation methods.
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.