// this is a JS Array of Objects; the key-value pairs consist of the column headers and the cell data
letnames=[];
constspreadsheet=awaitd3
.tsv(input,d3.autoType)
.then(data=>data.forEach(d=>names.push(d)));// d3.tsv returns a Promise
returnnames;
}
import{text}from"@jashkenas/inputs"
import{printTable}from'@uwdata/data-utilities'
d3=require("d3")
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.