history graphs with d3