Published
Edited
Oct 7, 2021
Insert cell
Insert cell
sizes2px_quickDirty( '(min-width: 1000px) 1000px, 100vw', 1920 )
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
const startTime = Date.now();
const results = [];
for ( let i = 0; i < 10000; i++ ) {
results.push( await sizes2px_quickDirty('(min-width: 1000px) 1000px, 100vw', Math.round( Math.random() * 1920 ) ) );
}
return [ results, Date.now() - startTime ];
}
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