Public
Edited
Jan 3, 2022
Insert cell
# Active MLB Managers
Insert cell
managerChart = {
return vl
.markCircle({
}).config({
axis: {
labelFont: "monospace",
labelFontSize: 10,
titleFont: "cursive",
titleFontSize: 20
},
title: {
fontSize: 50,
font: "cursive"
}
})
.data(data.filter(d=>d.To === 2021))
.encode(
vl.y().fieldQ("W-L%").scale({zero:false}),
vl.x().fieldQ("G"),
vl.tooltip(["Mgr", "W-L%", "Ejections"])
)
.width(width *.5)
.height(width * .4)
.background('floralwhite')
.title("Active MLB Managers")
.render()
}
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