Categories

Chord Diagram Generator

Generate interactive chord diagrams for visualizing bidirectional flows and relationships between entities

Array of connections with source, target, and value fields

Title displayed above the chart

Chart background color

Outer circle radius in pixels

Inner circle radius in pixels

Chord transparency (0-1)

Space between arcs (0-0.1)

Display entity names

Display total flow values

Display color legend

Display flow statistics

Animate on load

Animation time in milliseconds

Key Facts

Category
Data Visualization
Input Types
textarea, text, select, color, number, checkbox
Output Type
html
Sample Coverage
4
API Ready
Yes

Overview

The Chord Diagram Generator creates interactive, circular visualizations that effectively display bidirectional flows and complex relationships between multiple entities.

When to Use

  • When you need to visualize the movement or exchange of data between different groups.
  • When comparing the strength of relationships or connections across a network.
  • When presenting multi-directional flow data in a compact, circular layout.

How It Works

  • Input your connection data as a JSON array specifying the source, target, and value for each relationship.
  • Customize the visual appearance by adjusting color schemes, opacity, and arc padding.
  • Toggle display options like labels, statistics, and legends to refine the chart's clarity.
  • Generate the interactive diagram and use the built-in animation settings to bring your data to life.

Use Cases

Visualizing migration patterns between different cities or countries.
Mapping trade volume or financial transactions between global markets.
Analyzing user navigation paths or traffic flow between sections of a website.

Examples

1. Inter-City Migration Flow

Background
A researcher needs to present migration data between four major cities to show population shifts.
Problem
Traditional bar charts fail to show the bidirectional nature of the movement clearly.
How to Use
Input the migration counts between cities as source-target-value pairs and enable labels.
Example Config
[{"source": "Beijing", "target": "Shanghai", "value": 850}, {"source": "Shanghai", "target": "Beijing", "value": 780}, {"source": "Beijing", "target": "Shenzhen", "value": 480}]
Outcome
A clear, circular diagram showing the volume of migration between cities, with thicker chords representing higher population movement.

2. Website Traffic Analysis

Background
A web analyst wants to show how users navigate between different landing pages.
Problem
Tracking user flow across multiple pages is difficult to interpret in a standard table.
How to Use
Define page names as nodes and the number of clicks as values in the connection data.
Example Config
{"colorScheme": "vibrant", "showStats": true, "enableAnimation": true}
Outcome
An animated chord diagram that highlights the most popular navigation paths between site sections.

Try with Samples

barcode

Related Hubs

FAQ

What format does the connection data require?

The tool requires a JSON array of objects, where each object contains 'source', 'target', and 'value' fields.

Can I change the order of the entities in the circle?

Yes, you can select from various sort orders including alphabetical, original, or by value (high to low/low to high).

Is the generated diagram interactive?

Yes, the generated chord diagram is interactive, allowing users to hover over arcs and chords to see specific flow details.

Can I customize the colors of the diagram?

Yes, you can choose from several predefined color schemes like warm, cool, pastel, or vibrant to match your presentation needs.

What is the purpose of the 'Chord Opacity' setting?

Chord opacity controls the transparency of the connections, helping to reduce visual clutter when many flows overlap.

API Documentation

Request Endpoint

POST /en/api/tools/chord-diagram-generator

Request Parameters

Parameter Name Type Required Description
chartData textarea Yes Array of connections with source, target, and value fields
chartTitle text No Title displayed above the chart
sortOrder select No -
colorScheme select No -
backgroundColor color No Chart background color
radius number No Outer circle radius in pixels
innerRadius number No Inner circle radius in pixels
chordOpacity number No Chord transparency (0-1)
padding number No Space between arcs (0-0.1)
showLabels checkbox No Display entity names
showValues checkbox No Display total flow values
showLegend checkbox No Display color legend
showStats checkbox No Display flow statistics
enableAnimation checkbox No Animate on load
animationDuration number No Animation time in milliseconds

Response Format

{
  "result": "
Processed HTML content
", "error": "Error message (optional)", "message": "Notification message (optional)", "metadata": { "key": "value" } }
HTML: HTML

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-chord-diagram-generator": {
      "name": "chord-diagram-generator",
      "description": "Generate interactive chord diagrams for visualizing bidirectional flows and relationships between entities",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=chord-diagram-generator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]