const linear: ( min: number, max: number, props: Partial<DomainOptions>, ) => number[]
packages / 2d-plot / src / util / domain.ts