This is an example of a simple line graph. It plots the performance of a tennis betting strategy over time. The betting strategy assumes a wager of $50 on each match. The mouseover information shows the change in the total balance due to each individual game.
This graph uses the tooltip method from http://www.d3noob.org/2014/07/my-favourite-tooltip-method-for-line.html.
See http://www.puzzlr.org/?p=38 for the thought process behind the graph.
https://d3js.org/d3.v3.min.js