Public
Edited
Jun 13, 2023
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
graph = createGraph(n, [
[0, 1],
[0, 4],
[0, 5],
[1, 2],
[1, 4],
[2, 3],
[3, 4],
]);
Insert cell
Insert cell
Insert cell
traverseUsingBFS(n, graph, 0);
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