Arc diagram is a style of graph drawing, in which the vertices of a graph are placed along a line in the Euclidean plane, with edges being drawn as semicircles in one of the two halfplanes bounded by the line, or as smooth curves formed by sequences of semicircles. In some cases, line segments of the line itself are also allowed as edges, as long as they connect only vertices that are consecutive along the line.
Questions tagged [arc-diagram]
10 questions
4
votes
1 answer
geom_curve - plot all curves above zero
I am trying to make an arc plot similar to arcdiagram package, using ggplot2's geom_curve:
library(ggplot2)
ggplot(myDat, aes(x = A, xend = B, y = 0, yend = 0)) +
geom_curve(alpha = 0.2, curvature = 1, ncp = 1000, lineend = 'butt')
Some curves…

zx8754
- 52,746
- 12
- 114
- 209
3
votes
1 answer
Alternating or preventing overlapping paths in D3
I am creating an arc diagram where I'd like to, hopefully, find a way to prevent the overlap of arcs. There's an example of the working bl.ock here.
The darker lines in this case are overlapping lines where multiple nodes share the same edge. I'd…

Jason Heppler
- 706
- 9
- 29
2
votes
0 answers
arc diagram with D3js and ReactJS
I am having a reactjs project to create a arc diagram using D3js. Here is the template I'm using. The first problem is in (d) => `translate(${x(d.id)},${height - 15}) rotate(-45). It says ${x(d.id)} is undefined. The second problem is even when I…

Dr.Doof11
- 31
- 4
2
votes
1 answer
ggraph arc diagram clips label text
I am using the igraph and ggraph package to plot an arc diagram. I am having trouble with the geom_node_text parameter because, as the length of the text label increases, the graph lower margin will not increase accordingly. So if the label for a…

Rafael
- 131
- 6
2
votes
1 answer
how to make an arc diagram of varying radius in R?
There are multiple R packages for arc diagram such as ggraph or arcdiagram, but if there're more than one connection of different nature, it will show as overlapping arcs of the same radius connecting the same origin and destination. Is it possible…

santoku
- 3,297
- 7
- 48
- 76
2
votes
1 answer
Specify arc color by origin node arcplot {arcdiagram}
I have an arcplot with node order manually specified. I had hoped to set arc color by manually specifying with a list as well. However, the colors don't line up to the nodes:
Where red, blue, and green were previously defined as:
red <-…

d-cubed
- 1,034
- 5
- 30
- 58
2
votes
2 answers
Identify D3.js Graph
What is this graph called that was generated by D3.js?
Is there a name for it?
I failed to describe it when looking for keywords in the documentation and spent quite a bit of time scouring the web.
Once identifying it, what is one example in the D3…

user1431282
- 6,535
- 13
- 51
- 68
1
vote
0 answers
Could arc diagram show self-loop?
Found this nifty package in R called arcdiagram, but wondering is it possible to draw self-loop (from a node to itself) using it. Has anyone implemented that before in R?

santoku
- 3,297
- 7
- 48
- 76
1
vote
1 answer
D3 Arc Diagram: Tooltip on Circle Mouseover Not Displaying
I'm stuck on a problem and just looking for another pair of eyes to maybe spot what I'm missing.
I have an arc diagram I'm building and would like a tooltip event when I mouse over the circles/nodes.
You can see the sample bl.ock here. I thought…

Jason Heppler
- 706
- 9
- 29
1
vote
1 answer
d3 arc diagram - add top semi circles
http://jsfiddle.net/pRkpL/ and http://fiddle.jshell.net/pRkpL/show/
I am making an arc diagram which is based heavily on this demo: http://bl.ocks.org/sjengle/5431779. It's taken me a while to get to this stage, and the graph now adapts to the data…

daviestar
- 4,531
- 3
- 29
- 47