Skip to main content
100%

Gist c8e1760f2187bc14f88a

✓ Published0🌍 Public
Aabernier
Last edited Sep 13, 2015
Created on Sep 13, 2015

This visualization opens with a JavaScript prompt that asks the user for a date string, defaulting to the current month, day, year, hour, minute, and second. The entered date is then appended to the `src` of an embedded `<iframe>`, reloading the frame with that date as a query parameter. The code uses `window.prompt` to gather input and manipulates the `iframe` element directly, with the `pad` function formatting each date component to two digits. The visualization itself appears to live inside the iframe, whose content is not visible in this snippet.

AI-generated description

Similar vizzes