Back to projects

Chartlyx

Lightweight React charting library published to npm as chartlyx, with composable chart primitives and full TypeScript support.

Description

Chartlyx (published on npm as chartlyx) is a composable React charting library built for developers who want small, tree-shakeable chart primitives instead of a monolithic library. It ships Cartesian charts (line, area, bar, scatter, stacked bar/area) and polar charts (pie, radar) with axes, tooltips, and hover interactions layered on top of a shared ChartContainer. The library is authored in TypeScript, bundled with tsup into both ESM and CJS with generated .d.ts type files, externalizes React as a peer dependency to stay lean, and is tested with Vitest inside an npm workspaces monorepo.

Technologies

  • React
  • TypeScript
  • SVG
  • tsup
  • Vitest
  • npm Workspaces

Date

2025

Type

Open Source / React Library

Client

Personal

Chartlyx
Chartlyx screenshot 2
Chartlyx screenshot 3