Published
Edited
Jul 31, 2020
1 fork
1 star
Insert cell
md`# Google Spreadsheet`
Insert cell
Insert cell
table(data)
Insert cell
url = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQqia3L8-LVnVP7xH5tvjKiXABhhllQXlLOpIy_XKknuUjJPgqXTSUDYdUNSNiH1q0K6KUn9LZoSSrQ/pub?gid=163499144&single=true&output=tsv"
Insert cell
data = {
let names = [];
const spreadsheet = await d3
.tsv(url)
.then(data => data.forEach(d => names.push(d))); // d3.tsv returns a Promise
return names;
}
Insert cell
d3 = import("d3")
Insert cell
import { table } from "@gampleman/table"
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