Public
Edited
Mar 8, 2024
Insert cell
Insert cell
import {textcolor} from "@observablehq/text-color-annotations-in-markdown"
Insert cell
Insert cell
1 + 2
Insert cell
Insert cell
Insert cell
Plot.plot({
marks: [
Plot.dot(cars, {x: "power (hp)", y: "economy (mpg)"})
],
ariaLabel: "Relationship between miles per gallon and horse power",
ariaDescription: "Scatterplot of the relationship between miles per gallon (mpg) and horse power (hp) for 406 cars. We see that as horse power increases, miles per gallon decreases."
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
yearly = 12 * amount
Insert cell
Insert cell
Insert cell
total = amount * (years ** (1 + interest/100))
Insert cell
viewof years = Inputs.select(["10", "15", "20", "30"], {label: "Years"})
Insert cell
viewof interest = Inputs.radio(["1", "2", "3", "5", "7.5", "12"], {label: "Interest rate (%)", value: "3"})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
cars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {lasers} from "@observablehq/faa-laser-reports-data"
Insert cell
viewof laserTable = Inputs.table(lasers)
Insert cell
Insert cell
laser_report_2020 = FileAttachment("Laser_Report_2020.xlsx").xlsx()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
table
X*
Y*
Color
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
lasers
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
data
X
Flight ID
Y
Incident Date
Color
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
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