I'm trying to implement data to this codepen link website.
I really love the design but cannot figure out how to add data points inside. Data points are supposed to be clickable, pretty much a button scenario.
if you check the link and the code inside, I think it has to be added somewhere between these lines
var linesToDraw = [];
for(var i = 0; i < points.length; i++){
linesToDraw.push({
control: controlPoint,
p1: points[i],
func: self.drawLine
});
}