Gist 3b05ad028ea1cbc56ccb696600b50566
✓ Published0🌍 Public
HHypercubed
Last edited Apr 30, 2023
Created on Apr 30, 2023
This example displays a live weather dashboard that updates every minute. It shows the current location, temperature in Fahrenheit, weather description, and a clothing recommendation icon. The visualization uses a simple HTML widget via the Script Kit `widget` API, refreshing through `setInterval`. Weather data is fetched from the fcc-weather-api.glitch.me endpoint using `fetch`, while the displayed clothing item is selected by a `getTop` function based on Celsius temperature. The interface renders as a single card, with the date and time shown below the weather details.
AI-generated description