Published
Edited
Dec 26, 2021
2 forks
Importers
47 stars
Insert cell
Insert cell
tweet("993222403663675392")
Insert cell
Insert cell
function tweet(id, options) {
const div = document.createElement("DIV");
Promise.resolve().then(() => twttr.widgets.createTweet(id, div, options));
return div;
}
Insert cell
twttr = require("https://platform.twitter.com/widgets.js")
.catch((e) => window.twttr || Promise.reject(e))
.then(twttr => new Promise(resolve => twttr.ready(resolve)))
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