← 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.
| Feature | Chart.ts | ECharts |
|---|---|---|
| Bundle size | <15kb min+gzip (entire library) | ~300kb+ min+gzip |
| Tree-shaking | Full (import only what you use) | Partial (still very large) |
| TypeScript | Built-in, strict mode, full inference | Built-in types |
| SSR | Native SSR, works with any framework | Server-side rendering available |
| Accessibility | WCAG AA, keyboard nav, screen readers, pattern fills | Basic ARIA support |
| Tailwind CSS | Native className on every element, dark: variants | Not supported (canvas/SVG hybrid) |
| Chart types | 40+ built-in | 30+ built-in |
| Frameworks | React, Vue, Svelte, Solid, Angular, Vanilla JS | Wrappers available |
| License | MIT | Apache 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