Non-Directional Graph with Echarts - graph

Is there a way to create a non-directional graph with Echarts? I'm trying to follow the example in the documentation:
https://echarts.apache.org/examples/en/editor.html?c=graph-simple
And so far I managed to leave it like this:
https://codesandbox.io/s/echarts-for-react-piehalfrose-forked-hkzz9z?file=/src/index.js
But the problem is that when I move the mouse over the edge it still show the direction of edge.
My goal was to create a graph like this:
My Objective with the Graph

Related

Tableau - Plotting multiple lines in one graph

I'm trying to plotting multiple lines in one single graph. I've combined two of them using dual axis, but I don't know how should I add another.
Thank you in advance for any help.
Since you have mentioned that you want to show multiple measures in one viz it means that one axis is sufficient for all these measures. Therefore, Instead of creating dual axis chart, do it like this-
Step-1 Build line chart with one measure.
Step-2 Drop another measure on the axis directly instead of rows/column shelf where you'll see a double bar icon like the screenshot.
step-3 Drop additional mesaures either in similar ways or onto measure values pane created automatically. See a demonstration screenshot below on sample superstore

Loosen the graph layout in igraph

I'm drawing graphs using ggraph that uses layout functions from igraph package. However, the layouts I get are not entirely visually pleasing. In particular I have a graph with very strong connected components and some unconnected nodes. The result looks like this below:
So the nodes in the connected component are so close together that the edges are not even visible. Right now this used the fr layout, but other layouts give similar results. I seem to be unable to find a parameter that would loosen the graph up a bit that the connected component would not look like such a ball. Would be grateful for any suggestions.

R: interact with customized XML map

A Stack Overflow discussion here (How to make a heat map in R based on a gif of the human body?) describe how to plot a map for different part of human body in R.
I want to make the plot more interactive, i.e. if I move the cursor to the torso, I want to see a message "torso".
In other words, what I want to do is similar to the "identify" function for scattor plot, but is for plots generated from XML.
Another example for what I would like to achieve is: https://plot.ly/r/choropleth-maps/
Thanks!

R network.arrow() looks strange when curved

I'm trying to draw some appealing curved arrows on top of a map. The best looking arrows that I can find are network.arrow() from the network package. However, when I make them curved things get weird. Compare the following:
library(maps)
library(network)
map("usa")
network.arrow(-110,37,-85,40,length=5,width=1,angle=20)
map("usa")
network.arrow(-110,37,-85,40,length=5,width=1,angle=20,curve=2)
I find it difficult to believe that network.arrow() would integrate a curve option that inherently makes the arrowheads look bizarre, and yet I cant get it perform properly. How can I fix this?
Note: I am aware of great circle, and no, I'm not trying to get flight paths drawn properly. The data I am trying to visualize is on a much smaller scale than the example presented here.

Select objects within an area using d3

I am currently creating a tool which displays graphs and then I want to perform statistical analysis on a select set of nodes in each graph.
Is there a way to detect which nodes are contained by the red area (see image) using d3.js. I understand I could use the coordinates for the rectangle as draw but I would like to implement more arbitary shapes.

Resources