Fork of Fork of Activity 7
✓ Published1🌍 Public
This example demonstrates how to build a minimal D3-based web page using VizHub, showing a simple text message rendered in the browser. It loads D3 v5 from UNPKG and uses the `select` function from `"d3"` to set the text content of an HTML div. The code also imports a local ES6 module via `import { message } from './myMessage'` and includes a regular expression and CSS styling, exemplifying basic module integration and DOM manipulation without any complex data or visualization.
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