Published
Edited
Sep 22, 2022
1 star
Insert cell
Insert cell
Insert cell
chart = ForceGraph(graph, {
nodeId: d => d.id,
nodeGroup: d => d.group,
width,
height: 680,
invalidation // a promise to stop the simulation when the cell is re-run
})
Insert cell
graph = FileAttachment("graph.json").json()
Insert cell
Insert cell
Insert cell
import {howto} from "@d3/example-components"
Insert cell
import {Swatches} from "@d3/color-legend"
Insert cell
import { tol } from '@jotasolano/paul-tol-schemes'
Insert cell
import {imarginColor} from "@asgersp/color-imargin"
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