'How to make shaded error bar region in d3/visx

I would like to make a line chart in the visx library with shading used to represent the error bars region. Here is an example of what I mean: example. Instead of error bars, the line has light green/yellow shading showing the error range.

I know how to create the line, but how can I create the light green shaded region around it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source