Type Chart, then Shift-Enter. Ctrl-space for more options.
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])
]
})
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])
]
})
mergedFile.csv
Type Table, then Shift-Enter. Ctrl-space for more options.
minnesotaLakesLakesBiggerThan10Acresdata.csv
Type Table, then Shift-Enter. Ctrl-space for more options.
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.