六边形分箱图(Hexagonal binning)怎么做?

解决散点重叠问题的方法。将数据点聚合到蜂窝六边形网格中绘制密度,通过六边形的颜色或大小表示点数分布。

关系与相关分布

用在线工具做一张六边形分箱图 →

英文原文说明

Hexagonal Binning is a way to manage the problem of having too many points that start to overlap. Hexagonal binning plots density, rather than points. Points are binned into gridded hexagons and distribution (the number of points per hexagon) is displayed using either the color or the area of the hexagons.

制作要点

在 RAWGraphs 里制作六边形分箱图只要四步:①把 Excel / CSV 表格数据复制粘贴进工具;②在图表列表里选择「Hexagonal binning」;③把左侧的数据字段拖到右侧对应的映射区(如维度、数值、颜色);④在 Customize 里调颜色与标签,最后导出 SVG 或 PNG,SVG 还能放进 Illustrator 继续精修。全程数据只在浏览器本地处理,不上传。

官方英文教程:How to make a Hexagonal binning