Published
Edited
Feb 19, 2018
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
responsiveImg = function(options) {
return html`<img src="https://res.cloudinary.com/${cld_cloud_name}/image/fetch/c_limit,w_${Math.round( ( width * window.devicePixelRatio) / 100) * 100},q_auto,f_auto/${options.src}" ${ options.alt ? `alt="${options.alt}"` : '' } />`;
}
Insert cell
Insert cell
responsiveImg({ src: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/30th_St._Moritz_Polo_World_Cup_on_Snow_-_20140202_-_Cartier_vs_Ralph_Lauren_18.jpg/2560px-30th_St._Moritz_Polo_World_Cup_on_Snow_-_20140202_-_Cartier_vs_Ralph_Lauren_18.jpg", alt: "Very fancy men on very fancy horses" })
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