This post describes how to build a connected scatter plot with d3.js. The chart includes tooltip, and curve smoothing. Learn more about the theory of connected scatter plot in data-to-viz.com. This example works with d3.js v4 and v6
.curve() function. See this post that is dedicated to it.