Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Chennai Restaurants

Public visualization

Fork of Chennai Restaurants

0 stars0🌍 Public
AAkanksha
Last edited Jan 23, 2024
Created on Jan 23, 2024

This fork demonstrates the VizHub V3 Runtime Environment’s “Hello World” template. The exported `main` function sets the container’s inner HTML to display a large, centered text block. It shows how the runtime automatically renders the page without an `index.html`, relying on the `main` function’s `container` argument. The font size is an interactive widget that adjusts via Alt-drag, illustrating the hot-reloading capability. The code uses plain HTML and CSS within a template literal, with no external libraries or data files.

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.

Comments

Sign in to join the discussion.

MIT Licensed