invalidation// a promise to stop the simulation when the cell is re-run
})
graph=FileAttachment("graph.json").json()
import{howto}from"@d3/example-components"
import{Swatches}from"@d3/color-legend"
import{tol}from'@jotasolano/paul-tol-schemes'
import{imarginColor}from"@asgersp/color-imargin"
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.