skillfed

dvc-render

Dvc Render

dvc-render v1.0.2 1.9M downloads/30d#3,437 on PyPI8
Permissive license Apache-2.0 Active released

What it is and what it does

dvc-render is a library for converting data in DVC plots format into Vega visualizations and generating HTML or Markdown reports. It provides renderers that take plot data and properties to produce Vega-compatible output, report builders to combine multiple plots into a single document, and support for both custom and pre-defined Vega templates. The library has no runtime dependencies for basic Vega rendering, making it lightweight to install. It is used internally by DVC, DVCLive, and Studio, and targets Python 3.9 and later.

The package is designed for developers and data teams who need to programmatically generate interactive plots and reports from experiment or analysis data. Its main use is as a rendering backend for visualization pipelines, particularly those already using DVC's ecosystem. The Beta development status and active maintenance indicate it is stable enough for production use but may see API refinements.

Use it for:

  • Generate confusion matrix plots and other Vega templates from experiment results in DVC pipelines
  • Build HTML reports combining multiple plots for experiment comparison and sharing
  • Render Markdown reports with embedded Vega plots for documentation and notebooks
  • Convert DVC plot format data into Vega JSON for use in custom web dashboards
  • Automate visualization output as part of machine learning experiment tracking workflows

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Renders data in DVC plots format into Vega visualizations and generates HTML or Markdown reports containing multiple plots.

Yes. dvc-render is worth installing if you need to render plots from DVC or generate Vega-based reports programmatically. It has zero runtime dependencies for basic use, active maintenance, no known vulnerabilities, and a permissive Apache 2.0 license. Install friction is minimal. The only caveat is Beta status, which may mean occasional API changes, but the library is actively used in production by DVC's own ecosystem.

Install

dvc-render on PyPI

pip

pip install dvc-render

uv

uv add dvc-render

poetry

poetry add dvc-render

Installing dvc-render

Before you install

Low install friction with no runtime dependencies for basic Vega rendering. Actively maintained with recent commits and Beta-stage stability across Python 3.9–3.12.

License in practice

Apache 2.0 permissive license allows free use, modification, and distribution with minimal restrictions, suitable for both open and closed projects.

Quickstart

pip install dvc-render

from dvc_render import VegaRenderer
properties = {"template": "confusion", "x": "predicted", "y": "actual"}
datapoints = [{"predicted": "B", "actual": "A"}, {"predicted": "A", "actual": "A"}]
renderer = VegaRenderer(datapoints, "foo", **properties)
plot_content = renderer.get_filled_template()

Verify before relying

  • Whether optional dependencies (referenced in setup.cfg) are required for features beyond basic Vega rendering
  • Performance characteristics when rendering large datasets or many plots in a single report

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 856 days since the last release
Last repo commit
First released
Downloads 1,913,915/month — #3,437 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: dvc_render-1.0.2-py3-none-any.whl

Development Status :: 4 - BetaProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9

Tags

vega plot renderingdvc plots to htmldata visualization reportsplot template renderingvega report generationdvc visualization libraryplot format conversion
visualizationdvc-ecosystemvega

More Graphics packages