Published
Edited
Apr 21, 2021
Fork of Table
Insert cell
Insert cell
table([
{first_name: 'John', last_name: 'Doe'},
{first_name: 'Martin', last_name: 'Smith'}
])
Insert cell
viewof pp=table([])
Insert cell
Insert cell
//table(
// fetch(json_url).then(d => d.json())
//)
Insert cell
Insert cell
// viewof data = table(
// fetch(json_url).then(d => d.json())
// )
Insert cell
//data
Insert cell
Insert cell
// table(
// fetch(json_url).then(d => d.json()),
// {
// nully: () => '<span style="color: red">No data</span>',
// limit: 500,
// enableFilter: false,
// enableCSVDownload: true,
// columns: [{
// key: 'key',
// name: 'Station ID',
// render: val => `<a href="https://google.com/?q=${val}" target="_blank">${val}</a>`
// },
// 'last1hrf',
// 'rainfall',
// 'rainfallmsg',
// {
// key: 'rfstationstatus',
// name: 'RF Status'
// }]
// }
// )
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
CSV = require('json2csv@4.0.0').then(a => a.parse)
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