Published
Edited
Sep 11, 2021
1 star
Insert cell
Insert cell
Insert cell
HandsOnTable = require('handsontable@9.0.2/dist/handsontable.full.min.js')
Insert cell
stylesheet = html`<link rel='stylesheet'
href='https://unpkg.com/handsontable@9.0.2/dist/handsontable.full.css' />`
Insert cell
Insert cell
{
const data = [
['', 'Tesla', 'Volvo', 'Toyota', 'Ford'],
['2019', 10, 11, 12, 13],
['2020', 20, 11, 14, 13],
['2021', 30, 15, 12, 13]
];

const container = html``;
const hot = new HandsOnTable(container, {
data: data,
rowHeaders: true,
colHeaders: true
});
yield container;
}
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