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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more