Published
Edited
Jul 28, 2021
Importers
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function waitForURLParams(timeout) {
const check = resolve => {
if(location.search.length > 0) resolve();
else setTimeout(_ => check(resolve), timeout);
}
return new Promise(check);
}
Insert cell
async function checkURLParams(timeout) {
await waitForURLParams(timeout);
return true;
}
Insert cell
checkURLParams(2000)
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more