Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal VizHub setup where ES6 modules and external libraries load together, with D3.js available via UNPKG and a custom local module providing text content. The code imports `select` from D3 and a `message` constant from `myMessage.js`, then uses D3’s `select` method to update a DOM element’s text content. It also imports `react` from React, though this import is unused in the visible logic. The rendered output is a single centered line of large text, styled through `styles.css`, showing how D3 selections and modular JavaScript integrate within a simple React-based project scaffold.
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