Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how VizHub supports modular JavaScript development with React and D3. The app renders an SVG circle with a yellow fill and black stroke, centered within a 960x500 viewport, using hardcoded dimensions rather than data. The code imports React and ReactDOM from CDN via UNPKG, while a local ES6 module exports a message string. Although the message module is imported and a D3 selection is commented out, the active component only returns a simple React element.
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