Chord Chard Diagram
✓ Published3🌍 Public
This example renders a chord diagram from a small 5x5 matrix of numeric values in the `flare.js` file, with labels a–e. It uses the D3 v5 `d3.chord()` layout and `d3.ribbon()` generator to draw the chord ribbons in SVG, while `d3.arc()` creates the outer group arcs. Each chord’s fill color is derived from its source index via a `d3.scaleOrdinal` with `d3.schemeCategory10`, and ribbons have a fill opacity of 0.67. Text labels are rotated around the inner radius using computed angles. The React framework is present in the metadata, though the main rendering logic is plain D3.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed