Timeline component in D3 framework