Public
Edited
Jul 15, 2019
1 star
Insert cell
Insert cell
Insert cell
d3.buffer("https://mojaie.github.io/kiwiii/assets/resources/DrugBank5.0.5_FDA_Approved_GLS08.gfc")
.then(res => {
const data = JSON.parse(pako.inflate(res, {to: 'string'}));
const width = 1000;
const height = 600;
const state = new kwnw.NetworkState(data, width, height);
d3.select('#nwview')
.call(kwnw.view.networkView, state)
.call(kwnw.interaction.setInteraction, 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