Published
Edited
Nov 15, 2019
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
const container = document.createElement("div");
container.style = "display:flex;overflow-x:scroll";
const makeImg = src => {
const el = document.createElement("img");
el.style = `display:flex;height: 600px;margin:0 10px`;
el.src = src;
return el;
};
contents.forEach(item => container.appendChild(makeImg(item.download_url)));
return container;
}
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