# vega-regression

> Regression transform for Vega dataflows.

Latest version **2.1.3** (published 2026-08-14) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install vega-regression
pnpm add vega-regression
yarn add vega-regression
bun add vega-regression
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.1.3 |
| Published | 2026-08-14 |
| First published | 2019-05-10 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 4 |
| Unpacked size | 31.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12005 |
| Author | Vega |
| Maintainers | domoritz, hydrosquall, jheer, arvindsatya1, lhermann |
| Keywords | vega, regression, loess |

## Links

- npm: https://www.npmjs.com/package/vega-regression
- Repository: https://github.com/vega/vega
- Homepage: https://github.com/vega/vega/tree/main/packages/vega-regression#readme
- Issues: https://github.com/vega/vega/issues
- npm.io page: https://npm.io/package/vega-regression

## Dependencies (4)

- [d3-array](https://npm.io/package/d3-array.md) ^3.2.4
- [vega-util](https://npm.io/package/vega-util.md) ^2.1.3
- [vega-dataflow](https://npm.io/package/vega-dataflow.md) ^6.1.3
- [vega-statistics](https://npm.io/package/vega-statistics.md) ^2.0.0

## Recent versions

- 2.1.3 (latest) — 2026-08-14
- 1.3.2 (v5-maintenance) — 2026-01-06
- 2.1.2 — 2026-07-22
- 2.1.1 — 2026-07-21
- 2.1.0 — 2025-09-16
- 2.0.0 — 2025-03-27
- 1.3.1 — 2025-01-24
- 1.3.0 — 2024-06-14
- 1.2.0 — 2023-04-26
- 1.1.1 — 2023-03-01
- 1.1.0 — 2022-03-11
- 1.0.9 — 2020-09-23
- 1.0.8 — 2020-08-31
- 1.0.7 — 2020-08-18
- 1.0.6 — 2020-04-27
- … 6 more at https://npm.io/package/vega-regression/versions

## README

# vega-regression

Regression model fitting for Vega dataflows.

This package provides the following Vega data transforms:

- [**Loess**](https://vega.github.io/vega/docs/transforms/loess/) [&lt;&gt;](https://github.com/vega/vega/blob/master/packages/vega-regression/src/Loess.js "Source")
- [**Regression**](https://vega.github.io/vega/docs/transforms/regression/) [&lt;&gt;](https://github.com/vega/vega/blob/master/packages/vega-regression/src/Regression.js "Source")

---
_Source: https://npm.io/package/vega-regression · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
