Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Blank Slate

Public visualization

Viewing a saved revision (read-only)

42b71871d4dc43c38f4b2007f2d3dff6

Fork of Blank Slate

0 stars1🌍 Public
Aamari.urquhart@gmail.com
Last edited Feb 2, 2024
Created on Feb 2, 2024

This example demonstrates a minimal “Hello World” visualization using the VizHub V3 Runtime Environment, which enables continuous hot reloading and interactive widget tweaking. The code renders text directly into a container DIV using plain JavaScript, with a font size adjustable via Alt-drag interaction. It relies on no external libraries, only the runtime’s core `main` function export and SVG-capable rendering. The accompanying HTML file includes an empty SVG element and logs the D3.js library to the console, though no data processing or chart drawing occurs beyond this basic setup.

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.