Bitcoin Chart

Build Bitcoin and crypto price charts with Chart.ts. Real-time candlestick charts, volume indicators, and technical overlays. SVG rendering at under 15kb, perfect for trading dashboards and portfolio trackers.

$npm install @chartts/core
example.tsx
import { candlestick } from "@chartts/core"

const svg = candlestick({
  data: btcPrices,
  x: "timestamp",
  open: "open",
  high: "high",
  low: "low",
  close: "close",
  volume: "volume",
  overlays: [
    { type: "bollinger", period: 20 },
  ],
})

Features

Real-time price streaming
Candlestick with volume overlay
Technical indicators (SMA, EMA, Bollinger)
Multiple timeframes (1m to 1Y)
Responsive for mobile
Dark mode optimized
Under 5kb for candlestick chart