🌍 Public
Viewing a saved revision (read-only)
0cb95fe3278940a9a57122264e93796c
Fork of Hello VizHub
This example demonstrates a minimal D3.js setup within VizHub, showing a static SVG icon and text element. The code imports the `select` function from D3 via ES6 modules and uses it to position the text at specified coordinates. The SVG is defined in the HTML with an embedded path for the VizHub logo, while styles are applied through an external CSS file. D3 v5 is loaded from UNPKG, and the visualization renders entirely as SVG without dynamic data or interaction.
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.