Skip to main content
100%

Circles

✓ Published0🌍 Public
AAaron
Last edited Feb 10, 2024
Created on Feb 10, 2024

This example demonstrates the “Hello World” of a VizHub V3 Runtime Environment, showing a blank SVG canvas that fills the container’s width and height. The code uses D3’s `select` and `selectAll` with a data join of `[1]` to create an empty SVG element. The visualization highlights a minimal setup for continuous hot reloading with interactive widgets, serving as a template for building more complex charts. The entry point is the exported `main` function, which receives the `container` DIV as its argument, and the example lacks an `index.html` file, triggering the V3 Runtime.

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