Public
Edited
Apr 25
Fork of Simple D3
Insert cell
Insert cell
Plot.plot({
marginLeft: 60,
marks: [
Plot.barY(MedalsbyCountry, {
x: "nationality",
y: "total_medals",
fill: "#c83dac",
tip: true
}),
Plot.ruleY([0])
]
})
Insert cell
MedalsbyCountry
X
nationality
Y
total_medals
Color
#c83dac
Size
Facet X
Facet Y
Mark
bar
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
updatedOlym
select sum(medal) as total_medals,nationality from updatedOlym
group by nationality order by sum(medal) desc LIMIT 10;
Insert cell
Insert cell
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