viewofteam=select({options:["New York Yankees","Cleveland Indians","Boston Red Sox"]})
d3.min(points,d=>parseInt(d.yearID))//parseint makes it so it comes as a number without ""
d3.max(points,d=>parseInt(d.yearID))
// For Loop
{
for(vari=0;i<10;i++){
}
}
// While Loop
{
vari=0
while(i<10){
i++
}
}
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.