Published
Edited
Dec 4, 2019
Also listed in…
Metadata and schemas
Insert cell
Insert cell
tableschema = require(await FileAttachment("tableschema-1.9.4").url())
// or https://bundle.run/tableschema@1.9.4
Insert cell
table = tableschema.Table.load(
'https://raw.githubusercontent.com/frictionlessdata/datapackage-js/master/data/data.csv'
)
Insert cell
rows = table.read()
Insert cell
html`<div>${table.headers.join(',')}</div>${rows.map(
r => `<div>${r.join(',')}</div>`
)}`
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