Public
Edited
May 23, 2023
Insert cell
Insert cell
Insert cell
Plot.plot({
marginLeft: 125,
x: { grid: true },
y: { label: "City" },
color: { legend: true },
marks: [
Plot.barX(
productRecallsInMMakeovermonday0522Queryresult,
Plot.groupY(
{ x: "count" },
{
y: "recalling_firm_city",
fill: "product_type",
sort: { y: "x", limit: 10, reverse: true }
}
)
),
Plot.ruleX([0])
]
})
Insert cell
Insert cell
Insert cell
product-recalls-in-m-makeovermonday-05-22-QueryResult.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