Published
Edited
Dec 8, 2021
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
SPARQLresults = await FileAttachment("MM-ontology_compounds@2.json").json()
Insert cell
prefixes = parseSPARQLPrefixes(query)
Insert cell
Insert cell
data = ({nodes: Array.from(new Set(links.flatMap(l => [l.source, l.target])), id => ({id})), links})
Insert cell
types = Array.from(new Set(links.map(d => d.type)))
Insert cell
Insert cell
Insert cell
Insert cell
height = 1000
Insert cell
d3 = require("d3@5")
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