D3-based reusable chart library for interactive time series