cockpit-charts
v1.0.7
Published
A lightweight, animated and customizable charting library for building interactive cockpit instruments using modular D3.js.
Maintainers
Readme
cockpit-charts
A collection of highly customizable, responsive flight instrument charts for the web. Built with TypeScript and D3.js, compatible with any modern framework.

Installation
npm i cockpit-chartsFeatures
- Fully Customizable — every chart exposes style and tick/scale configurations that merge with sensible defaults.
- Fully Responsive — all charts use
ResizeObserverand adapt to any container size. - Smooth Animated — value changes are animated with built-in easing.
- Stable & Error-Tolerant — input validation prevents crashes; out-of-range values are silently clamped.
- TypeScript-First — complete type definitions included. Works in any JS/TS project.
Charts
| Chart | Documentation | Live Demo | | ------------------- | :-------------------------------------------------------------------------------------: | :-----------------------------------------------------------: | | Airspeed Indicator | docs | demo | | Attitude Indicator | In progress | In progress | | Altimeter Indicator | docs | demo | | Compass | In progress | In progress |
