# ecomfe/zrender

A lightweight graphic library providing 2d draw for Apache ECharts

Repository: https://github.com/ecomfe/zrender
Canonical: https://ross.abutalabs.com/products/zrender
Homepage: https://ecomfe.github.io/zrender-doc/public/
Language: TypeScript
License: BSD-3-Clause
License Family: permissive
Topics: vector-graphics, canvas, svg, 2d, html5
Last push: 2026-08-07T18:07:07+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 50, longevity 100
- inputs: {"age_days": 4900, "days_push": 26, "days_rel": 121, "gap_med": 224, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6303, forks 1582 (observed 2026-08-28T04:09:41.588151+00:00)

## What it is
ZRender is a lightweight 2D graphics rendering engine for the web, supporting Canvas, SVG, and VML backends. It serves as the underlying renderer for Apache ECharts and can also be used standalone to draw and animate vector graphics.

## Use cases
- draw 2d shapes on canvas or svg in the browser
- build custom data visualizations with a lightweight rendering engine
- render charts as the graphics layer for echarts
- create and animate vector graphics in html5
- extend custom shape types for 2d drawing

## When to choose
- you need a lightweight 2d drawing engine with canvas and svg backends
- you are building visualizations on top of or alongside Apache ECharts
- you want fine-grained control over shapes, styles, and repaints in the browser

## When to avoid
- you need 3d rendering or WebGL-based graphics
- you want a full charting library rather than a low-level drawing engine
- you need server-side or native (non-browser) rendering

## Facets
- artifact type: library
- maturity: active
- function: graphics, animation
- domain: graphics, data-visualization, web-development, frontend
- platform: browser, cross-platform
- tags: canvas, svg, 2d-graphics, vector-graphics, echarts, rendering-engine, typescript, nodejs

## Member repositories
- ecomfe/zrender (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:41.588151+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:46:14.982789+00:00, confidence not recorded.
  - readme: https://github.com/ecomfe/zrender (fetched 2026-08-28T04:09:41.588151+00:00, sha 084754871dea)
  - homepage: https://ecomfe.github.io/zrender-doc/public/ (fetched 2026-08-29T08:42:59.412672+00:00, sha 9efaa8295547)
  - registry_npm: https://registry.npmjs.org/zrender (fetched 2026-08-29T08:42:59.422139+00:00, sha 22c5a4496dcd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
