{"schemaVersion":"1.0","record":{"label":"Apache ECharts","description":"Apache-licensed JavaScript visualization library with configurable chart types, Canvas/SVG renderers and server-side output.","aliases":["ECharts"],"kind":"software","website":"https://echarts.apache.org/","overview":"Apache ECharts is an open-source JavaScript visualization library for embedding configurable charts into applications. It supports Canvas and SVG rendering and separates reusable datasets from chart configuration. Browser interaction and server-generated output are available through different integration paths, making it useful for dashboards and reports while requiring deliberate choices about rendering, accessibility and bundle size.","license":"Apache-2.0","lifecycle":"active","example":false,"features":[{"name":"Canvas and SVG","status":"supported","detail":"Renderer is selected at initialization; some effects remain Canvas-specific.","useCase":"Embedding configurable interactive data visualizations","platforms":["Web browsers","Node.js server rendering"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://echarts.apache.org/handbook/en/best-practices/canvas-vs-svg/","locator":"Renderer selection and Canvas-specific effects","retrievedAt":"2026-10-07T22:47:19Z","kind":"vendor"}]},{"name":"Shared datasets","status":"supported","detail":"Dataset sources can feed multiple series with explicit dimension-to-visual encoding.","useCase":"Embedding configurable interactive data visualizations","platforms":["Web browsers","Node.js server rendering"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://echarts.apache.org/handbook/en/concepts/dataset/","locator":"Shared sources, dimensions and explicit visual encoding","retrievedAt":"2026-10-07T22:47:30Z","kind":"vendor"}]},{"name":"Server-rendered interactivity","status":"limited","detail":"One-time SVG/image output is not a complete interactive client; lightweight hydration needs server rerenders for selected changes and does not provide full tooltip behavior.","useCase":"Embedding configurable interactive data visualizations","platforms":["Web browsers","Node.js server rendering"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://echarts.apache.org/handbook/en/how-to/cross-platform/server/","locator":"SVG strings, canvas images, hydration and lightweight-runtime limits","retrievedAt":"2026-10-07T22:47:19Z","kind":"vendor"}]},{"name":"Accessible descriptions","status":"limited","detail":"Requires explicit component/option setup and meaningful descriptions; inspected source prefers aria.enabled over the handbook's legacy aria.show examples.","useCase":"Embedding configurable interactive data visualizations","platforms":["Web browsers","Node.js server rendering"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://echarts.apache.org/handbook/en/best-practices/aria/","locator":"Explicit AriaComponent import, descriptions and decals; legacy option examples","retrievedAt":"2026-10-07T22:47:19Z","kind":"vendor"},{"url":"https://github.com/apache/echarts/blob/master/src/component/aria/preprocessor.ts","locator":"aria.show deprecated in favor of aria.enabled; label-option migration","retrievedAt":"2026-10-07T22:47:51Z","kind":"vendor"}]}],"alternatives":[],"slug":"apache-echarts","draftAlternatives":[{"targetSlug":"chart-js","status":"limited","detail":"Can replace overlapping embedded chart displays using ECharts configuration and renderer choices. Existing Chart.js options, plugins and event handling are not drop-in compatible.","useCase":"Embedding configurable interactive data visualizations","platforms":["Web browsers","Node.js server rendering"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://echarts.apache.org/en/index.html","locator":"Visualization library, chart types and renderer options","retrievedAt":"2026-10-07T22:44:56Z","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/basics/import/","locator":"Tree-shaken component/renderer registration and ComposeOption","retrievedAt":"2026-10-07T22:47:41Z","kind":"vendor"},{"url":"https://www.chartjs.org/docs/latest/getting-started/integration.html","locator":"Chart types, explicit components and JavaScript integration","retrievedAt":"2026-10-07T22:45:10Z","kind":"vendor"}]}],"evidence":[{"url":"https://echarts.apache.org/en/index.html","locator":"Visualization library, chart types and renderer options","retrievedAt":"2026-10-07T22:44:56Z","kind":"vendor"},{"url":"https://github.com/apache/echarts/blob/master/LICENSE","locator":"Apache License 2.0","retrievedAt":"2026-10-07T22:47:30Z","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/best-practices/canvas-vs-svg/","locator":"Renderer selection and Canvas-specific effects","retrievedAt":"2026-10-07T22:47:19Z","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/basics/import/","locator":"Tree-shaken component/renderer registration and ComposeOption","retrievedAt":"2026-10-07T22:47:41Z","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/concepts/dataset/","locator":"Shared sources, dimensions and explicit visual encoding","retrievedAt":"2026-10-07T22:47:30Z","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/how-to/cross-platform/server/","locator":"SVG strings, canvas images, hydration and lightweight-runtime limits","retrievedAt":"2026-10-07T22:47:19Z","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/best-practices/aria/","locator":"Explicit AriaComponent import, descriptions and decals; legacy option examples","retrievedAt":"2026-10-07T22:47:19Z","kind":"vendor"},{"url":"https://github.com/apache/echarts/blob/master/src/component/aria/preprocessor.ts","locator":"aria.show deprecated in favor of aria.enabled; label-option migration","retrievedAt":"2026-10-07T22:47:51Z","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/basics/release-note/v6-upgrade-guide/","locator":"Default theme, layout and label changes","retrievedAt":"2026-10-07T22:47:41Z","kind":"vendor"},{"url":"https://www.chartjs.org/docs/latest/getting-started/integration.html","locator":"Chart types, explicit components and JavaScript integration","retrievedAt":"2026-10-07T22:45:10Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://echarts.apache.org/en/index.html","locator":"Visualization library, chart types and renderer options","retrievedAt":"2026-10-07T22:44:56Z","id":"home","title":"Apache ECharts homepage","kind":"vendor"},{"url":"https://github.com/apache/echarts/blob/master/LICENSE","locator":"Apache License 2.0","retrievedAt":"2026-10-07T22:47:30Z","id":"license","title":"Apache ECharts license","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/best-practices/canvas-vs-svg/","locator":"Renderer selection and Canvas-specific effects","retrievedAt":"2026-10-07T22:47:19Z","id":"renderers","title":"ECharts Canvas versus SVG","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/basics/import/","locator":"Tree-shaken component/renderer registration and ComposeOption","retrievedAt":"2026-10-07T22:47:41Z","id":"imports","title":"Importing ECharts","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/concepts/dataset/","locator":"Shared sources, dimensions and explicit visual encoding","retrievedAt":"2026-10-07T22:47:30Z","id":"dataset","title":"ECharts datasets","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/how-to/cross-platform/server/","locator":"SVG strings, canvas images, hydration and lightweight-runtime limits","retrievedAt":"2026-10-07T22:47:19Z","id":"ssr","title":"ECharts server-side rendering","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/best-practices/aria/","locator":"Explicit AriaComponent import, descriptions and decals; legacy option examples","retrievedAt":"2026-10-07T22:47:19Z","id":"aria","title":"ECharts accessibility handbook","kind":"vendor"},{"url":"https://github.com/apache/echarts/blob/master/src/component/aria/preprocessor.ts","locator":"aria.show deprecated in favor of aria.enabled; label-option migration","retrievedAt":"2026-10-07T22:47:51Z","id":"aria-code","title":"ECharts ARIA preprocessor","kind":"vendor"},{"url":"https://echarts.apache.org/handbook/en/basics/release-note/v6-upgrade-guide/","locator":"Default theme, layout and label changes","retrievedAt":"2026-10-07T22:47:41Z","id":"upgrade","title":"ECharts 6 upgrade guide","kind":"vendor"},{"url":"https://www.chartjs.org/docs/latest/getting-started/integration.html","locator":"Chart types, explicit components and JavaScript integration","retrievedAt":"2026-10-07T22:45:10Z","id":"chart","title":"Chart.js integration","kind":"vendor"}],"overviewCitations":["home","dataset","ssr"],"licenseCitations":["license"],"sections":[{"id":"data-model","heading":"Keeping chart configuration separate from data","paragraphs":[{"id":"data-model-detail","content":[{"text":"The dataset component lets multiple series reuse a source rather than duplicating a separately shaped array for each series. Dimensions and encode settings map fields to axes, tooltips, labels and other visual roles. Default mapping rules are available, but explicit mappings help when the input shape differs from a simple example. This is a useful boundary in generated dashboard code: the visualization library organizes values for display; it does not determine whether an application's data aggregation is meaningful."}],"citations":["dataset"]}]},{"id":"rendering","heading":"Renderer selection is a functional choice","paragraphs":[{"id":"rendering-detail","content":[{"text":"Canvas and SVG are selected when a chart is initialized. The handbook suggests choosing according to the device, number of elements and required effects, and acknowledges that some effects depend on Canvas. SVG and Canvas therefore should not be treated as identical export switches for every configuration. Claims about performance depend on workload and environment; no benchmark was performed for this article."}],"citations":["renderers"]}]},{"id":"bundles","heading":"Selective imports need explicit registration","paragraphs":[{"id":"bundles-detail","content":[{"text":"A full import makes the library's functionality available, while the modular interface allows importing selected chart types, components and features. In that modular path, no renderer is included automatically: CanvasRenderer or SVGRenderer must be registered. TypeScript's ComposeOption can describe the configured subset. This helps explain why an otherwise valid-looking chart generated from a full-import example may fail when moved into an aggressively reduced application bundle."}],"citations":["imports"]}]},{"id":"server","heading":"Server output and lightweight hydration","paragraphs":[{"id":"server-detail","content":[{"text":"Server rendering can produce SVG strings or raster images. The SVG path requires explicit dimensions and disables the ordinary browser event machinery. Loading the full client library later restores richer interactions; the lightweight client instead supports a narrower set of interactions and can request new server-rendered SVG for changes such as legend selection. That requires an application protocol and state handling and does not provide every real-time interaction, including normal mouse-following tooltips. A static report and an interactive dashboard should be assessed separately."}],"citations":["ssr"]}]},{"id":"accessibility","heading":"Descriptions, decals and version-aware options","paragraphs":[{"id":"accessibility-detail","content":[{"text":"The accessibility handbook describes generated or custom descriptions and patterns that distinguish data without relying only on color. It requires explicit AriaComponent inclusion and enablement and notes that a long list of every point can be less useful than a considered description. Some handbook examples use aria.show; the inspected source marks that option deprecated and maps it to aria.enabled. Developers should prefer the installed version's current API rather than reproduce legacy names without checking them."}],"citations":["aria","aria-code"]}]},{"id":"upgrades","heading":"Visual compatibility across versions","paragraphs":[{"id":"upgrades-detail","content":[{"text":"The ECharts 6 migration guide calls out a new default theme, changes to component placement and sizing, axis-label layout behavior and rich-text style inheritance. A compatibility theme is offered for restoring prior defaults. Consequently, an unchanged data/configuration object need not produce a pixel-identical chart after a major upgrade. Visual regression checks should reflect intentional changes instead of treating all changed output as either automatically acceptable or automatically a bug."}],"citations":["upgrade"]}]},{"id":"comparison","heading":"License and substitution","paragraphs":[{"id":"comparison-detail","content":[{"text":"Apache ECharts uses Apache-2.0. It can substitute for "},{"text":"Chart.js","targetSlug":"chart-js"},{"text":" where both cover the required embedded chart, with a different configuration model and a choice of rendering paths. Migration means translating the application's series, options and interactions; it does not establish compatibility with existing Chart.js plugins. The useful scope is visualization inside an application, not replacement of its database, analytics semantics or complete accessibility review. No package was installed or rendered for this research."}],"citations":["license","home","imports","chart"]}]}]},"id":"Q765","revision":813,"updatedAt":"2026-10-13T10:33:35Z","sourceUrl":"https://substitutefor.net/entities/Q765?revision=813"}}