use `df.sample(5000)` to plot a random subset. Fast, but loses some information. (2) **Aggregate** — use `groupby` to compute means or medians by group, reducing 500K rows to hundreds. Changes the chart type from scatter to bar or grouped scatter. (3) **Use `px.density_heatmap()`** — bin the data in