在世界地图上可视化网络 [英] Visualize network above a world map

查看:159
本文介绍了在世界地图上可视化网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我在NodeXL中有一个网络数据集,我试图在世界地图上将其可视化。我的数据集包含


  • 具有国家/地区属性的节点
  • 链接。节点之间未加权的连接



我尝试使用NodeXL并导出文件并导入Gephi。但是,我找不到在节点属性的基础上在世界地图上将其可视化的方法。



另外,我知道D3.js,但找不到任何示例或教程与地图上的网络。



您可以在NodeXL,Gephi,D3.js或任何其他库中为我提供示例来执行此操作。



想象一下这样的结果:

Plugins安装它们):


  • GeoLayout - 当您应用那一个时,您必须指定属性的名称记录经度和纬度并选择投影(例如墨卡托投影)。您的节点将相应地布置。

  • 地图的国家/地区 - 这是一个插件,用于显示(相当简单 - 不太详细)大纲图作为您网络的背景。


您可以按顺序使用两者 - 尽管坦率地说,我已经使用GeoLayout获得更多成功,将结果导出为矢量图形,并将其叠加在地图图像上。如果你的网络很大,并且在整个地理区域内传播得很好,你甚至不需要将它覆盖在地图上 - 它已经看起来像一个。例如,在上面公布的Facebook可视化中,各大洲的轮廓仅基于节点/用户集中的位置而出现。


Well I have a network dataset in NodeXL and I am trying to visualize it on a world map. My dataset has

  • Nodes with an attribute of a country
  • Links. Unweighted connections between the nodes

I tried to do it with NodeXL and exporting the file and importing to Gephi. But, I cannot find a way to visualize it on a world map in base of the attribute of nodes.

Also, I know about D3.js but I cannot find any example or tutorial with networks on maps.

Can you please provide me with examples in NodeXL, Gephi, D3.js or any other library to do this.

Imagine the result something like this:

解决方案

In Gephi, you can use a map-based layout to visualize your network based on node location. You need to have two attributes containing the geocoded coordinates of your nodes: latitude and longitude. There are two plugins you can use for the visualization (neither comes with Gephi by default, you have to install them from Tools -> Plugins):

  • GeoLayout - when you apply that one, you have to specify the names of the attributes where longitude and latitude are recorded and select a projection (e.g. Mercator). Your nodes will be laid out accordingly.
  • Map of countries - that's a plugin that displays a (fairly crude - not too detailed) outline map as a background to your network.

You can use both in sequence - though frankly I've had more success using GeoLayout, exporting the result to a vector graphic, an overlaying it on top of a map image. If your network is large and nicely spread across the geographic area, you won't even need to overlay it on a map - it will already look like one. In the Facebook visualization you've posted above for example, the outlines of continents emerge just based on where nodes/users are concentrated.

这篇关于在世界地图上可视化网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆