Public
Edited
Jul 15, 2019
1 star
Insert cell
Insert cell
Insert cell

status = d3.buffer("https://mojaie.github.io/kiwiii/assets/resources/DrugBank5.0.5_FDA_Approved.ndc")
.then(res => {
const data = JSON.parse(pako.inflate(res, {to: 'string'}));
const state = new kwdg.DatagridState(kwdg.legacy.convertTable(data));
state.data.fields.find(e => e.key === 'index').widthf = 0.5;
d3.select('#dgview')
.call(kwdg.view.datagrid, state)
.call(kwdg.sort.setSort, state);
})
.then(() => 'done.')
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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