A Plain Scatterplot

A plain old scatterplot. Adapted from https://vega.github.io/vega-lite/examples/point_color_with_shape.html.

The (async () => { ... })() bit is a so-called Immediately Invoked Function Expression, which is just a way to define a function and run it immediately without having to give it a name. It is used here to contain all logic that depends on asynchronous operations like fetching datasets.