🌍 Public
Activity5-Tutorial3-Rashmitha
This example demonstrates fundamental D3.js integration within a VizHub project, showing how to load D3 via UNPKG and use ES6 module imports. The code renders a simple text message, "Hello VizHub!", into a div element using the `select` function from D3. It also includes local ES6 module imports from a custom `myMessage.js` file and defines regular expressions and variables. The visualization uses basic DOM manipulation with D3's selection API and CSS styling for centered, large text presentation.
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
Comments
Sign in to join the discussion.