雷达图
在仪表板中您可以添加各种可视化组件来展示数据,本节以雷达图为例带您快速了解创建仪表板的流程。
1. 数据准备
新增数据源并添加到数据集。
(1)数据源配置
数据源属性 | 属性值 |
---|---|
Web API地址 | https://result.eolink.com/jLwe6LL471d5112ef61d6b2ebe579a5190be3ee81164537?uri=/Mobile-phone-price-comparison |
请求方法 | GET |
JSON路径 | $.data[*] |
JSON数据:
{
"success": true,
"code": 200,
"message": "successful",
"data": [{
"id": "1",
"brand": "A手机",
"value": 92,
"type": "外观"
}, {
"id": "2",
"brand": "A手机",
"value": 78,
"type": "性能"
}, {
"id": "3",
"brand": "A手机",
"value": 95,
"type": "屏幕"
}, {
"id": "4",
"brand": "A手机",
"value": 85,
"type": "内存"
}, {
"id": "5",
"brand": "A手机",
"value": 88,
"type": "系统"
}, {
"id": "6",
"brand": "A手机",
"value": 81,
"type": "拍照"
}, {
"id": "7",
"brand": "B手机",
"value": 95,
"type": "外观"
}, {
"id": "8",
"brand": "B手机",
"value": 95,
"type": "性能"
}, {
"id": "9",
"brand": "B手机",
"value": 88,
"type": "屏幕"
}, {
"id": "10",
"brand": "B手机",
"value": 78,
"type": "内存"
}, {
"id": "11",
"brand": "B手机",
"value": 88,
"type": "系统"
}, {
"id": "12",
"brand": "B手机",
"value": 94,
"type": "拍照"
}]
}
注意:数值型数据不要添加双引号。
(2)数据集配置
2. 创建仪表板
(1)添加可视化组件
(2)数据绑定
选中可视化组件进行数据绑定。
(3)面积雷达图设置(同上)