nodeId:(d)=>d.id,// node identifier, to match links
nodeGroup:(d)=>d.group,// group identifier, for color
nodeTitle:(d)=>d.id,// hover text
width,
height:520,
invalidation// stop when the cell is re-run
})
import{ForceGraph}from"@d3/force-directed-graph"
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.