Public
Edited
Apr 30, 2024
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
result = await axios({
method: "get",
url: url
});
Insert cell
Insert cell
$ = cheerio.load(result.data);
Insert cell
Insert cell
investors = $("h2 a")
Insert cell
Insert cell
investorData = {
let data = []
investors.each((i, item) => {
let title = $(item).text();
let url = $(item).attr("href");
data.push({ title: title, url: url })
});
yield data
}
Insert cell
Insert cell
html`
<table>
<tbody>
${investorData.map((row, i) =>
html`<tr><td>${row.title}</td><td>${row.url}</td></tr>`
)}
</tbody>
</table>`
Insert cell
Insert cell
Insert cell
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