Klar

Charts / React engineering charts / Flow

Chord diagram

Traffic between eight regions as ribbons whose two ends show each direction, so heavy and lopsided pairs stand out at once.

React component ChordDiagram, data through props. Where value goes, stage to stage: funnels, ribbons, bridges. Tags: chord, ribbons, matrix, traffic, regions, circular, flow.

Install

npm i klar-charts

import 'klar-charts/styles.css'
import { ThemeScope, ChordDiagram } from 'klar-charts'

# or copy the source:
npx shadcn@latest add https://klar.run/r/tech-chord.json

Usage

<ChordDiagram groups={regions} matrix={transfer} height={440} unit=" TB" format={(v) => fmt.int(v)} />

Related chord diagram charts