tutorial1a6
✓ Published0🌍 Public
This example demonstrates the basic setup of a D3.js visualization within the VizHub framework. It displays the text "Hello VizHub!" in a large, centered style using a local CSS file. The code imports the `select` function from the D3 library and a custom `message` string from a local ES6 module, then uses `select('#message').text(message)` to render the text. It also includes a simple regular expression and a number variable, illustrating basic JavaScript syntax alongside the D3 API.
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