RechartsTime Series

Indexed Time Series

Indexed comparison normalized to a base period with recession bands. Useful for comparing growth rates across different metrics.

Preview placeholder

timeseries-index-v1

Installation

Terminal
npx @ontopic/viz add recharts/generic/timeseries-index-v1

Props

PropTypeDescription
dataIndexedData[]Data to be indexed
baseYearnumberBase year for indexing (=100)

See full TypeScript interface on GitHub for all props.

Usage Example

TypeScript
import { IndexedTimeSeries } from '@/viz/components/recharts/generic/timeseries-index-v1';