Density Contours

A chart showing the relationship between waiting and eruption times of the Old Faithful geyser in Yellowstone National Park. Adapted from https://observablehq.com/@d3/density-contours. This example is intended to illustrate how external libraries (in this case d3-contour) can easily be integrated into florence.

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.