test-0601-1
✓ Published2🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed