Published unlisted
Edited
Nov 15, 2020
Insert cell
Insert cell
import {checkbox} from "@jashkenas/inputs"
Insert cell
output = options_list
Insert cell
viewof options_list = checkbox({
title: "Colors",
description: "Please select your favorite colors",
options: [
{ value: "1", label: "Red" },
{ value: "2", label: "Orange" },
{ value: "3", label: "Yellow" },
{ value: "4", label: "Green" },
{ value: "5", label: "Blue" },
{ value: "6", label: "Indigo" },
{ value: all_of_the_above, label: "All of the Above" }
],
value: starting,
submit: false
})
Insert cell
starting = ["1", "2"]
Insert cell
all_of_the_above = ["1", "2", "3", "4", "5", "6",]
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