Published unlisted
Edited
Apr 27, 2019
1 star
Insert cell
Insert cell
d3 = require("https://d3js.org/d3.v3.min.js")
Insert cell
network = fetch("https://raw.githubusercontent.com/MaayanLab/clustergrammer/master/json/mult_view.json").then(response => response.json())
Insert cell
cgm = require('https://bundle.run/clustergrammer-gl@0.7.5')
Insert cell
args = ({network: network, viz_width:500, viz_height:500, container:something})
Insert cell
something = html`<div id="something" style="height:650px">`
Insert cell
{
while (something.firstChild)
something.removeChild(something.firstChild);
cgm(args)
}
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