← All comparisons
Chart.ts vs Victory (Formidable)
Victory is a React charting library by Formidable. It renders to SVG and has a composable API, but is React-only with a D3 dependency chain that inflates bundle size.
| Feature | Chart.ts | Victory |
|---|---|---|
| Bundle size | <15kb min+gzip (entire library) | ~50kb min+gzip |
| Tree-shaking | Full (import only what you use) | Partial (D3 dependencies limit it) |
| TypeScript | Built-in, strict mode, full inference | Built-in types |
| SSR | Native SSR, works with any framework | Partial (some components need client) |
| Accessibility | WCAG AA, keyboard nav, screen readers, pattern fills | Basic SVG roles |
| Tailwind CSS | Native className on every element, dark: variants | Not native (inline styles) |
| Chart types | 65+ built-in (52 core + 13 WebGL/3D) | ~12 built-in |
| Frameworks | React, Vue, Svelte, Solid, Angular, Vanilla JS | React and React Native only |
| License | MIT | MIT |
| Rendering | Triple engine: SVG + Canvas + WebGL (auto-switching at 10k/100k points) | SVG only |
| Real-Time | Built-in streaming, WebSocket, SSE, HTTP polling via @chartts/websocket | No streaming |
| GPU / 3D | WebGL renderer + @chartts/gl with 13 3D chart types (Scatter3D, Surface3D, Globe3D, etc.) | No |
| Financial | @chartts/finance: SMA, EMA, RSI, MACD, Bollinger Bands, ATR, VWAP, Sharpe ratio | No |
| Plugins | defineChartType() with render context, hit testing, custom scales | No |
| Interactions | Zoom, pan, brush selection, crosshair, linked charts | Zoom via VictoryZoomContainer |
| Advanced Charts | Sankey, treemap, sunburst, chord, geo maps, network graphs, 3D globe | 12 types (basic) |
| Theme Presets | 34 presets (Nord, Dracula, Catppuccin, Tokyo Night, Material, etc.) | Material, grayscale |
Why switch from Victory?
Chart.ts advantages
- 65+ chart types vs 12
- Works with any framework, not React-only
- Native Tailwind className vs inline styles
- Built-in WebGL/3D and streaming
- Full financial chart support
Victory limitations
- React only, no Vue/Svelte/Solid/Angular
- D3 dependency inflates bundle size
- Inline styles, not Tailwind-native
- No Server Component support
- Limited chart types compared to alternatives
Ready to switch?
Get started with Chart.ts in 30 seconds.
$
npm install @chartts/core