Public
Edited
Nov 3, 2023
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
Plot.plot({
color: { legend: true, scheme: "Plasma", reverse: true },
marks: [
Plot.frame({ strokeOpacity: 0.1 }),
Plot.dot(filteredData, {
fy: "Region",
x: "Logged GDP per capita",
y: "Ladder score",
stroke: "Social support",
r: "Generosity",
tip: true
})
]
})
Insert cell
Insert cell
duckdata
select h.*, u.* from happiness as h join urbanization as u on h.CountryCode = u['Country Code'] where "urbanization" <= ${selectedUrbanization}
Insert cell
happiness_data.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

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

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