Published unlisted
Edited
Jan 19, 2021
Insert cell
Insert cell
Insert cell
gathered_data = [{value : toggle}, {value : other_toggle}]
Insert cell
Insert cell
viewof toggle = radio({
title: "Can I supply data, then manipulate it?",
options: ["No", "Yes"],
value: test_data
})
Insert cell
toggle_view = toggle
Insert cell
test_data = ""
Insert cell
Insert cell
viewof other_toggle = Object.assign(radio({
title: "Can I supply data, then manipulate it?",
options: ["No", "Yes"],
value: other_test_data
}), {value: Promise.resolve("")})
Insert cell
other_toggle_view = other_toggle
Insert cell
other_test_data = "Yes"
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