Fork of Webpage
This example demonstrates a manual chart selector interface with buttons to load different SVG visualizations. The interface presents four buttons—Bar Chart, Scatter Plot, Histogram, and Line Chart—that trigger `loadSvg()` to fetch and inject raw SVG text into the page. Currently, only the Bar Chart uses a real external source from GitHub, while the other buttons reference placeholder URLs. The implementation relies on basic JavaScript `fetch()` calls and DOM manipulation via `innerHTML`. Styling is minimal, using inline CSS for the page body and button layout.
AI-generated descriptionA blank slate starting point showing the "Hello World" for the VizHub V3 Runtime Environment, which supports continuous hot reloading with interactive widgets.
https://vizhub.com/drbagwell/cfc6aaba08b54a598475e867bcc8fa21
Comments
Sign in to join the discussion.