Removed console.log
Added metrics in the tooltip
added printing and centered the plot