Public
Edited
Dec 24, 2022
1 star
Insert cell
Insert cell
Plot.plot({
grid: true,ty
width:900,
y: {
label: "Matches Played"
},
x: {
label: "Matches Won",
},
marks: [
// Plot.dot(allFormationsSet, {x:"match_won",y:"match_played", fill:"transparent"}),
Plot.text(allFormationsSet, {x: "match_won", y: "match_played", text: "formation",textAnchor: "end", fill:"formation", fontSize:10}),

Plot.ruleY([0])
]
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
fifaMatchData
select home_formation, away_formation, side_won from 'fifaMatchData';
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