Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Svelte Starter

Public visualization

Viewing a saved revision (read-only)

aefb31c69b4c42938d44436387ec8187

Svelte Starter

0 stars0🌍 Public
MMatthias Stahl
Last edited Jan 20, 2024
Created on Jan 20, 2024

A minimal template for a Svelte visualization project. It displays a blank container with no visual output, serving as a starting point for building interactive graphics. The example uses Svelte's component structure and an `index.js` module that exports a `main` function, which receives a DOM container element. No external rendering libraries or data processing are utilized, leaving the canvas or SVG entirely empty.

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.