Unlisted
Edited
Oct 31, 2024
Insert cell
Insert cell
original_data = ({
name: "Sample Project",
description: "Initial project data",
status: "active"
})
Insert cell
mutable state_data = ({})
Insert cell
state_data
Insert cell
changed_data = ({
name: "Specific Project",
description: "Adjusted project data",
status: "closed"
})
Insert cell
viewof load_original_data = Inputs.button("Load Original Data", {reduce: () => swap_data(original_data)});
Insert cell
viewof load_changed_data = Inputs.button("Load Changed Data", {reduce: () => swap_data(changed_data)});
Insert cell
function swap_data(data) {
mutable state_data = data;
}
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