score:4

Accepted answer

Line 151 :

areaPath = svg.append("path")

Change to :

areaPath = chartBody.append("path")

chartBody holds the clippath

Updated fiddle : https://jsfiddle.net/reko91/hara70wa/6/


Related Query

More Query from same tag