Published
Edited
Nov 5, 2021
Insert cell
Insert cell
Plot.plot(plotInfo)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
X = result.careerHR
Insert cell
Y = result.careerSO
Insert cell
label = result.playerID
Insert cell
Insert cell
d3.max(X)
Insert cell
d3.max(Y)
Insert cell
Insert cell
Insert cell
plotInfo = ({
x:{domain:[0,800]},
y:{domain:[0,3000]},
marks:[
Plot.ruleX([0]),
Plot.ruleY([0]),
Plot.dot(X,{x:X,y:Y,fill:"black",r:5,title:(d,i)=>label[i]})
]
})
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