Thanks Nick, it works now!
I was able to figure out also how to get the data associated with the x and y coordinates of the plotted line inside the chart:
chart.selectAll('path.line').on("mouseover", function(d) {
// Get the x y coordinates on mouse over
console.log('event x', d3.event.x);
console.log('event y', d3.event.y);
// Get the corresponding data associated with the x y coordinates
console.log('invert x', chart.x().invert(d3.event.x));
console.log('invert y', chart.y().invert(d3.event.y));
// vice-versa
var linearX = chart.x();
var linearY = chart.y();
console.log('linear x', linearX(chart.x().invert(d3.event.x)));
console.log('linear y', linearY(chart.y().invert(d3.event.y)));
});