Public
Edited
Jul 28, 2023
Insert cell
Insert cell
Plot.plot({
marginLeft: 125,
x: { grid: true },
color: { legend: true },
marks: [
Plot.barX(
mergedfile,
Plot.groupY(
{ x: "count" },
{
y: "lake_county",
sort: { y: "x", reverse: "true" }
}
)
),
Plot.ruleX([0])
]
})
Insert cell
mergedfile
X
sum
lake_waterarea_ha
Y
lake_county
Color
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Plot.plot({
marginLeft: 118,
x: {
grid: true
},
y: {
grid: true
},
marks: [
Plot.barX(
mergedfile,
Plot.groupY(
{ x: "sum" },
{
y: "lake_county",
tip: true,
sort: { y: "x", limit: 20, reverse: true }
}
)
),
Plot.ruleX([0])
]
})
Insert cell
Plot.plot({
marginLeft: 118,
marks: [
Plot.barX(
mergedfile,
Plot.groupY(
{ x: "count" },
{
y: "lake_county",
tip: true,
sort: { y: "x", reverse: true }
}
)
),
Plot.ruleX([0])
]
})
Insert cell
mergedFile.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
minnesotaLakesLakesBiggerThan10Acresdata.csv
Type Table, 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