← All comparisons
Chart.ts vs Visx (Airbnb)
Visx is Airbnb's collection of low-level D3-based React visualization primitives. Great for custom viz but requires significant assembly.
| Feature | Chart.ts | Visx |
|---|---|---|
| Bundle size | <15kb min+gzip (entire library) | ~25kb min+gzip (varies by modules) |
| Tree-shaking | Full (import only what you use) | Good (separate packages) |
| 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 | Manual implementation |
| Tailwind CSS | Native className on every element, dark: variants | Possible but not native |
| Chart types | 65+ built-in (52 core + 13 WebGL/3D) | Build from primitives |
| Frameworks | React, Vue, Svelte, Solid, Angular, Vanilla JS | React 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 | Manual |
| 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 | N/A (primitives) |
| Interactions | Zoom, pan, brush selection, crosshair, linked charts | Manual |
| Advanced Charts | Sankey, treemap, sunburst, chord, geo maps, network graphs, 3D globe | Build from primitives |
| Theme Presets | 34 presets (Nord, Dracula, Catppuccin, Tokyo Night, Material, etc.) | No presets |
Why switch from Visx?
Chart.ts advantages
- 65+ ready-made charts vs assemble-it-yourself
- Works with any framework, not React-only
- Simple declarative API vs low-level primitives
- Built-in streaming, WebGL, and financial charts
- No D3 knowledge required
Visx limitations
- React only
- Low-level primitives, not ready-made charts
- Requires deep D3 knowledge
- No simple API for common charts
- Significant assembly required for basic charts
Ready to switch?
Get started with Chart.ts in 30 seconds.
$
npm install @chartts/core