This post follows the previous basic area chart. It shows how to display the trend line on top, with the individual observations represented as circle as well. It is actually a mix between a scatterplot, a line chart and an area chart.
stroke
to the area. But this highlights the whole border, not only the top.. The workaround is to plot a line chart on top using the d3.line()
function.