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.
CI_right
and CI_left
.d3.area()
to add the confidence interval around the line.