Skip to main content
100%

test-0601-1

✓ Published2🌍 Public
HHalcyonWjr
Last edited Jun 1, 2022
Created on Jun 1, 2022
Forked from HTML Starter

This example displays the total number of user sessions and a bar chart of session counts by user type. It fetches JSON data from a GitHub gist using the Fetch API, then uses vega-lite-api with vega and vega-lite to render the bar chart. The total session count is extracted from the data and inserted into the page’s heading via `getElementById`. The chart encodes user type on the x-axis and session numbers on the y-axis.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes