Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

EJ Vizhub Starter

Public visualization

Viewing a saved revision (read-only)

b92bbeb165ad476a99547b0049db0253

EJ Vizhub Starter

0 stars0🌍 Public
EEJ Fox
Last edited Jan 22, 2024
Created on Jan 22, 2024

This example displays the text "Hello World!" at a large, fixed font size in the center of the container. The visualization demonstrates a minimal setup for rendering static HTML content through a JavaScript export function. It uses the `container.innerHTML` API to inject a styled div element directly, with the font size defined as a constant variable. The example serves as a basic starting point for building more complex visualizations, showing how to structure code for the EJ Vizhub platform.

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.