Published
Edited
Jun 3, 2022
4 stars
Insert cell
Insert cell
stardog = require('stardog')
Insert cell
Insert cell
connection = new stardog.Connection({
username: 'anonymous',
password: 'anonymous',
endpoint: 'https://express.stardog.cloud:5820'
});
Insert cell
Insert cell
Insert cell
rawQueryResults = (
await stardog.query.execute(
connection,
"stardog-tutorial-music",
queryToRun,
"application/ld+json",
{}
)
).body["@graph"]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
ForceGraph(d3StyleGraph, {
nodeTitle: node => node.name || node.id
});
Insert cell
Insert cell
import { chart as vegaAdjacencyMatrix }
with { d3StyleGraph as data }
from "@vega/vega-lite-adjacency-matrix"
Insert cell
vegaAdjacencyMatrix
Insert cell
Insert cell
Insert cell
import { chart as biofabric }
with { biofabricCloneOfD3StyleGraph as data }
from "@evan-ezell/force-directed-graph-to-biofabric-visualization"
Insert cell
Insert cell
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