Let's download the dataset first.
Next, we read it into polars so that we may apply a pipeline.
Part of the pipeline is "cached". This is the part of the pipeline that does not change if we change the slider value.
This way, only this function runs when we need it.