2
$\begingroup$

I'm trying to create a network visualization to study the flights to and from a certain airport.

My data consists of 123000 rows in this format:

Origin_ID    Destination_ID    Frequency
  1726            3504           40000
  3504            4517              40
  5616            7205              38
               ...

I'm trying to create a image similar to this:

enter image description here

Basically, I want to be able to see the strength of the relationship (based on the frequency) and identify which combinations are most common in that airport.

Can it be created in R using this format? Or do you suggest any other open source platform to create this visualization?

$\endgroup$
3

1 Answer 1

1
$\begingroup$

The visNetwork R package is the best I've worked with. It renders with the vis.js Javascript package right in your RStudio window. Nodes and edge visualization is fully customizable and may be data-driven. They implement click-functionality on your graphs, so you can rearrange them or highlight a node and its neighbors. I've found people really enjoy this in presentations, and the highlight functionality is great for making static PowerPoint presentations or figures.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.