This post follows the previous basic line chart with d3.js. It simply describes how to add a confidence interval around the main line. See more line chart examples in the dedicated section. This example works with d3.js v4
and v6
CI_right
and CI_left
.d3.area()
to add the confidence interval around the line.