# vega-view

> View component and transforms for Vega visualizations.

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

## Install

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

## 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 | 6.2.0 |
| Published | 2026-08-14 |
| First published | 2016-09-24 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 8 |
| Unpacked size | 179.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12006 |
| Author | Vega |
| Maintainers | domoritz, hydrosquall, jheer, arvindsatya1, lhermann |
| Keywords | vega, view, layout |

## Links

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

## Dependencies (8)

- [d3-array](https://npm.io/package/d3-array.md) ^3.2.4
- [d3-timer](https://npm.io/package/d3-timer.md) ^3.0.1
- [vega-util](https://npm.io/package/vega-util.md) ^2.1.3
- [vega-format](https://npm.io/package/vega-format.md) ^2.1.3
- [vega-runtime](https://npm.io/package/vega-runtime.md) ^7.1.3
- [vega-dataflow](https://npm.io/package/vega-dataflow.md) ^6.1.3
- [vega-functions](https://npm.io/package/vega-functions.md) ^6.2.0
- [vega-scenegraph](https://npm.io/package/vega-scenegraph.md) ^5.3.0

## Recent versions

- 6.2.0 (latest) — 2026-08-14
- 5.16.1 (v5-maintenance) — 2026-01-06
- 6.1.2 — 2026-07-22
- 6.1.1 — 2026-07-21
- 6.1.0 — 2025-09-16
- 6.0.0 — 2025-03-27
- 5.16.0 — 2025-03-16
- 5.15.0 — 2025-02-25
- 5.14.0 — 2025-01-24
- 5.13.0 — 2024-06-14
- 5.12.1 — 2024-05-10
- 5.12.0 — 2024-01-03
- 5.11.1 — 2023-03-01
- 5.11.0 — 2022-03-11
- 5.10.1 — 2021-03-30
- … 92 more at https://npm.io/package/vega-view/versions

## README

# vega-view

View component for Vega visualizations. A **View** instantiates an underlying dataflow graph and provides a component for rendering and interacting with a visualization. When initialized with a container DOM element, the View adds a Canvas or SVG-based visualization to a web page. Alternatively, a View can be used either client-side or server-side to export static SVG or PNG (Canvas) images.

For the API reference, see the [Vega View API documentation](https://vega.github.io/vega/docs/api/view/).

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