UNPKG

d3

Version:

A small, free JavaScript library for manipulating documents based on data.

8 lines (6 loc) 195 B
d3.time.seconds = d3_time_range(d3.time.second, function(date) { date.setTime(date.getTime() + 1e3); }, function(date) { return date.getSeconds(); }); d3.time.seconds.utc = d3.time.seconds;