Exercise 2-26:

interpolate "1970-01-01" and "1971-01-01"



data(0.5) can show a date between 2 dates

i.e. if date = d3.interpolateDate(new Date("1970-01-01"), new Date("1971-01-01"))

the output of date(0.5) is Thu Jul 02 1970 20:00:00 GMT+0800 (Taipei Standard Time)

the result also printed on console