Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
SStolasIn
Last edited Sep 12, 2023
Created on Sep 12, 2023
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes