← All comparisons

Chart.ts vs Apache ECharts

ECharts is a powerful, enterprise-grade charting library from Apache. It supports many chart types but has an enormous bundle and complex configuration.

FeatureChart.tsECharts
Bundle size<15kb min+gzip (entire library)~300kb+ min+gzip
Tree-shakingFull (import only what you use)Partial (still very large)
TypeScriptBuilt-in, strict mode, full inferenceBuilt-in types
SSRNative SSR, works with any frameworkServer-side rendering available
AccessibilityWCAG AA, keyboard nav, screen readers, pattern fillsBasic ARIA support
Tailwind CSSNative className on every element, dark: variantsNot supported (canvas/SVG hybrid)
Chart types40+ built-in30+ built-in
FrameworksReact, Vue, Svelte, Solid, Angular, Vanilla JSWrappers available
LicenseMITApache 2.0

Why switch from ECharts?

Chart.ts advantages

  • Under 15kb gzipped, full library
  • Tailwind className on every chart element
  • WCAG AA accessible by default
  • Works with React, Vue, Svelte, Solid, Vanilla
  • Native SSR, zero config

ECharts limitations

  • Enormous bundle size (300kb+)
  • Complex nested configuration objects
  • Not Tailwind-native
  • Over-engineered for most use cases
  • Learning curve for configuration

Ready to switch?

Get started with Chart.ts in 30 seconds.

$npm install @chartts/core