// Won 2 Oscars. Another 22 wins & 57 nominations.
letwins=d.Awards.match(/(\d+) win/);
wins=wins?wins[1]:0;
console.log(wins)
return{
wins:+wins,
score:+d.Metascore,
title:d.Title
}
})
vegalite({
data:{values:winsMetascores},
mark:'point',
encoding:{
x:{type:'quantitative',field:'score'},
y:{type:'quantitative',field:'wins'}
}
})
md`
- Outliers: most movies are clustered together, but there are some outliers with 200+ wins and almost 100% score -> what movies are they? What are their genres?
- Look at movies that have > 80% or only movies that have < 70%
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.