Skip to main content
100%

First

✓ Published0🌍 Public
Wwpyuser@gmail.com
Last edited Jan 25, 2024
Created on Jan 25, 2024

This example introduces the VizHub V3 Runtime Environment with a minimal "Hello World" SVG graphic. It renders a yellow circle as a face with two smaller black circles for eyes, drawn using basic SVG elements such as `<circle>` within a fixed-width canvas. The code demonstrates the required `main` function export, which accepts a `container` DIV and sets its inner HTML to define the visualization. The rendering approach relies entirely on inline SVG markup, with no external libraries or data processing.

AI-generated description

A blank slate starting point showing the "Hello World" for the VizHub V3 Runtime Environment, which supports continuous hot reloading with interactive widgets.

  • There is no index.html - that's what triggers the V3 Runtime
  • The entry point is the main function exported from index.js
  • The main function takes an argument container, a DIV

Full course playlist: YouTube: Constructing Visualization 2024.

MIT Licensed

Similar vizzes