针对普通客户端浏览和分析大数据困难的问题,结合Spark和LOD技术,以热图为例提出一种面向大数据可视化技术框架.首先利用Spark平台分层并以瓦片为单位并行计算,然后将结果分布式存储在HDFS上,最后通过web服务器应用Ajax技术结合地理信息提供各种时空分析服务.文中重点解决了数据点位置和地图之间的映射,以及由于并行计算导致的热图瓦片之间边缘偏差这2个问题.实验结果表明,该方法将数据交互操作与数据绘制和计算任务分离,为浏览器端大数据可视化提供了一个新的思路.
It is important to provide data analysts with effective and efficient exploratory tools via web browsers.However, due to the characteristics of big data, current data visualization approaches can hardly display the wholedatasets. This paper proposes a general-purpose visualization framework based on Spark and LOD. Firstly, weimplement a tile-based parallel computing algorithm for layered datasets with Spark. Secondly, we store the temporaryresults on HDFS. Finally, with Ajax and geographic information, we provide all kinds of spatial-temporalanalysis services via web. This paper resolves two problems: one is the mapping of data points from heat map togeographic map; the other is the correction of the marginal error in overlapping areas caused by parallel computing.The experiment results suggest that by separating the data display and manipulation from the data renderingand computing tasks, our method provides a new way for big data visualization via web browsers.