D3.js area.context() Method
The d3.area.context() method lets you render the area in a canvas elementâs context. The area will be rendered in the current context when the generator is invoked. We can set the context of our line on our own using this method like color, stroke, fill, etc. The default value is null. Syntax: d3.ar