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
- Spend to revenue Sankey: Each channel’s ribbon tapers from its share of spend to its share of attributed revenue, so efficient channels fan out.
- Journey flow: Users moving through activation steps as one stream, with drop-offs peeling away into labelled sinks.
- Hex outcome funnel: Six petals for six consult outcomes, each lit from inside in proportion to its count.
- Stage flow: Pipeline value narrowing stage by stage this quarter, with lost deals peeling off the underside.
- MRR bridge: October to November MRR as a floating waterfall on a broken axis, movement by movement.
- Plan flow ribbons: Accounts moving between plans from October to November, sized by MRR, with churn called out.