Published
Edited
Jan 10, 2021
Importers
2 stars
Insert cell
md`# Table from array of data`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Data_1 = [[0,1,2,3],[1,2,3,4],[2,3,4,5]]
Insert cell
table(Data_1,{
sortable: true,
rank: true})
Insert cell
Insert cell
Data_2 = 'fake data'
Insert cell
table(Data_2,{
sortable: true,
rank: true})
Insert cell
Insert cell
Insert cell
table(Data_3,{
sortable: true,
rank: true})
Insert cell
Insert cell
Insert cell
Insert cell
Data_5 = [['title 1','title 2','title 3','title 4'],['yes',2,3,4],[2,3,4,5]]
Insert cell
table(Data_5,{
sortable: true,
rank: false})
Insert cell
Insert cell
md` DefaultOptions will set style and number of maximum row per page`
Insert cell
defaultOptions = ({ columns: {}, style: 'normal', paged: 25, rows: false, header: true })
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
d3 = require('d3@5')
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