Public
Edited
Jun 2, 2023
Insert cell
Insert cell
data = FileAttachment("penguins.csv").csv({typed: true})
Insert cell
viewof bins = Inputs.range([3, 20], {step: 1, label: "Bins"})
Insert cell
Plot.plot({
marks: [
Plot.ruleY([0]),
Plot.rectY(data, Plot.binX({y: "sum"}, {x: "flipper_length_mm", thresholds: bins}))
]
})
Insert cell
ContentListLayoutSubItemLength.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
contentlistlayoutsubitemlength
X
9
Y
Color
Size
Facet X
Facet Y
Mark
bar
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Plot.auto(contentlistlayoutsubitemlength, { x: "9", mark: "bar" }).plot({
color: { legend: true }
})
Insert cell
ContentListLayoutSubItemLengthoutlines_0531.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
ContentListLayoutSubItemLengthoutlines_0531.csv
SELECT * FROM "ContentListLayoutSubItemLengthoutlines_0531"
Insert cell
data1
X
column0
Y
Color
#158192
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

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

Insert cell
contentlistlayoutsubitemlength1
X
9
Y
Color
#158192
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

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

Insert cell
sectionsdescription
X
32
Y
Color
#158192
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

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

Insert cell
untitled
X
9
Y
Color
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

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

Insert cell
untitled1
X
9
Y
Color
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

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