Published
Edited
Apr 23, 2021
2 forks
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
SPARQLresults = await FileAttachment("MM-ontology@1.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
color = d3.scaleOrdinal(types, d3.schemeCategory10)
Insert cell
height = 1200
Insert cell
d3 = require("d3@6")
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