Fork of Activity 6_Task 1
✓ Published0🌍 Public
This example demonstrates a minimal VizHub project that renders a centered text message using D3.js. It shows how to load D3 v5 via CDN and import specific API functions like `select` from the `d3` module, alongside a local ES6 module that exports a string constant. The visualization uses D3’s `select` method to set the text content of a `div` element, styled with CSS for large font sizing. The code also includes simple JavaScript constructs such as a number variable and a regular expression, but no data fetching or dynamic visual behavior.
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