Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
PPiotr Paszek
Last edited Feb 18, 2023
Created on Feb 18, 2023
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, showing a static SVG icon and text element. The code imports the `select` function from D3 via ES6 modules and uses it to position the text at specified coordinates. The SVG is defined in the HTML with an embedded path for the VizHub logo, while styles are applied through an external CSS file. D3 v5 is loaded from UNPKG, and the visualization renders entirely as SVG without dynamic data or interaction.

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