Questions tagged [chord-diagram]

A graphical representation of a group of directly related entities.

A graphical representation of a group of networked entities. Generally represented as a circle. Standard example in d3.

A very commonly used library is Circos

170 questions
36
votes
5 answers

Which library could be used to make a Chord diagram in R?

Is there any package in cran which could plot a chord layout like this: (this visualization is also called chord diagram)
FUD
  • 5,114
  • 7
  • 39
  • 61
19
votes
1 answer

Change and transition dataset in chord diagram with D3

I'm working on a chord diagram using D3. I am trying to make it so that when a user clicks on a link the dataset will change to another predefined dataset. I've looked at both http://exposedata.com/tutorial/chord/latest.html and…
shaunjacobsen
  • 639
  • 1
  • 8
  • 20
16
votes
1 answer

Rotate labels in a chordDiagram (R circlize)

Here is some code from the circlize package for creating a chord diagram.Right now the labels are parallel to the edge of the circle. Is it possible to rotate the labels 90 degrees to they are perpendicular to the…
Brian P
  • 1,496
  • 4
  • 25
  • 38
14
votes
2 answers

Add labels to D3 Chord diagram

I'm a rookie programmer, so this one will probably be an easy one for most of you. What lines of code do I need for labels and/or mouse-over text for this Chord diagram? http://mbostock.github.com/d3/ex/chord.html I need it to display the name of…
13
votes
1 answer

R circlize: Error in circos.initialize

I am able to follow the Circlize example in the description of the package on CRAN easily: library('circlize') set.seed(123) mat = matrix(sample(1:100, 18, replace = TRUE), 3, 6) rownames(mat) = letters[1:3] colnames(mat) = LETTERS[1:6] ### basic…
user3390169
  • 1,015
  • 1
  • 11
  • 34
12
votes
3 answers

R make circle/chord diagram with circlize from dataframe

I would like to make a chord diagram using the circlize package . I have a dataframe containing cars with four columns. The 2 first columns contains information on car band and model owned and the next two columns to the brand and model the…
jonas
  • 13,559
  • 22
  • 57
  • 75
5
votes
5 answers

Chord Diagram in Python

Hi have a DataFrame along those lines: Source Target Value A B 10 A C 5 A D 15 A E 20 A F 3 B A 3 B G 15 F D …
BKS
  • 2,227
  • 4
  • 32
  • 53
5
votes
1 answer

How to change label fontsize on circlize chordDiagram in R

I have the following matrix: > circ_mat N chr Y N LG1 N LG2 N PA N chr X N other chr X 1546 128758 109464 71862 6926164 524087 PA 17415 140985 190831 7156005 145783 953412 chr 2 73977 157666 6588917 151092 137082…
Charlie W
  • 99
  • 6
5
votes
0 answers

Setting a minimum range for chord diagram in d3

I'm creating a chord diagram in d3 and have several chord groups with a value of 0. Because of this, the chord groups are rendered as slivers with an arc width of near-0, which makes adding any interaction difficult (it makes a near-impossible mouse…
Teachrdan
  • 113
  • 1
  • 8
5
votes
1 answer

Rotating text paths in d3.js chord diagram without usual svg:text

I am trying to adapt this Chord diagram by Mike Bostock: I want to have the text labels rotating outwards like this chord diagram: http://bost.ocks.org/mike/uberdata/ There is an example here http://bl.ocks.org/mbostock/910126 However, the…
Jon Scrut
  • 51
  • 1
  • 5
4
votes
2 answers

Uncaught TypeError: d3.queue is not a function D3.js

I'm trying to create a Chord Diagram using D3.js to show the relationship between different clients and suppliers, but I keep getting the following error when running the page, and here's my code: Uncaught TypeError: d3.queue is not a function …
Hamad
  • 373
  • 5
  • 14
4
votes
0 answers

Updatable d3 Chord Diagram

I'd like to modify d3's Chord Diagram: I would like to allow values to be updated. This jsfiddle contains my code so far, but I'm stuck as the ticks and their labels don't seem to update (click on the link to update with new matrix). The rest of it…
orange
  • 7,755
  • 14
  • 75
  • 139
4
votes
0 answers

D3 transition and update in chord diagram

I'm using a d3 chord diagram to visualize some data from multiple JSON files. There is one JSON file per year, and when I choose a year (a select input or a button), the data should be updated. My approach is like this: // ... // Setup width,…
Marcos
  • 4,643
  • 7
  • 33
  • 60
4
votes
0 answers

D3 chord diagram with exact positions

I want to create chord diagram in D3, but to specify relations of intervals with exact positions as in the following example by Circos: . Is there a way to do it in D3? If not, is there a way to do it in any other javscript data visualization…
Nikolay Vyahhi
  • 1,432
  • 1
  • 16
  • 30
3
votes
1 answer

Equivalent of chord.groups in D3.js v7

I am trying to recreate Nadia Bremer's chord diagram for storytelling with data from https://gist.github.com/nbremer/94db779237655907b907 She accesses the chord.groups element when creating the g element: var g =…
MaYa
  • 180
  • 7
1
2 3
11 12