Type Table, then Shift-Enter. Ctrl-space for more options.
Plot.plot({
title:"Aggregated size by extension",
marginLeft:80,
marks:[
Plot.barY(
data,
Plot.groupX(
{y:"sum"},
{
x:"extension",
y:"sizeMegabytes",
sort:{x:"-y"},
fill:"extension",
tip:true
}
)
),
Plot.ruleY([0])
]
})
data
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.