Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a basic Hello World visualization using D3.js, rendering the text “description: 照明灯1” centered in a large font. It shows how to load D3 v5 via UNPKG, import the `select` function directly from the D3 module, and import a local ES6 module. The visualization uses D3’s `select` API to set the text content of a div element, with styling controlled by an external CSS file.
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