Fork of Fork of Fork of Hello VizHub
✓ Published0🌍 Public
This example shows a minimal D3.js visualization that displays a single text message centered on the page. It loads D3 from a CDN, imports the `select` function from D3, and imports a local ES6 module to provide the string content. The code then uses `select('#message').text()` to set the text content of a div element, with styling applied via an external CSS file. The example demonstrates basic D3 selection, ES6 module imports, and CSS integration in VizHub.
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.
MIT Licensed