Platform
Resources
Pricing
Sign in
Contact us
Bryan Gin-ge Chen
here to learn
Workspace
Fork
Published unlisted
By
Bryan Gin-ge Chen
Edited
Apr 27, 2019
Fork of
Clustergrammer-GL
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.
Try it for free
Learn more
Compare fork
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
network
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
cgm
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
args
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
something
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML