This pen https://codepen.io/nicolaskruchten/pen/XPaKwP shows that if you change from `markers` to `markers+lines` for a `scatter` trace, the line ends up being drawn over the markers.