Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Fork of Hello VizHub

0 stars0🌍 Public
EEvan Liu
Last edited Dec 31, 2022
Created on Dec 31, 2022
Forked from Hello VizHub

This example demonstrates how to set up a minimal VizHub project using D3.js and ES6 modules. It renders a static SVG circle while displaying the text “Hello VizHub!” in a separate div element. The code imports the `select` function from D3 via UNPKG, as well as a local `message` constant from an external module, showing modular code organization. The SVG is defined directly in the HTML, with styling controlled by a linked stylesheet.

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.

Comments

Sign in to join the discussion.

MIT Licensed