Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js visualization that draws two thick lines on an SVG canvas—a black line from (100,100) to (200,200) and a blue path from (200,200) to (400,450). It also displays the text “Hello VizHub!” centered in a div using D3’s `select` function. The code imports D3 v5 from UNPKG and a local ES6 module, showcasing modular JavaScript and basic SVG shape rendering.
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