242Echarts - 3D 散点图(3D Scatter with Dataset)
3D with Dataset 散点图 scatter
2023-09-11 14:15:41 时间
效果图
源代码
$.get('data/asset/data/life-expectancy-table.json', function (data) {
var symbolSize = 2.5;
option = {
grid3D: {},
xAxis3D: {
type: 'category'
},
yAxis3D: {},
zAxis3D: {},
dataset: {
dimensions: [
'Income',
'Life Expectancy',
'Population',
'Country',
{name: 'Year', type: 'ordinal'}
],
source: data
},
series: [
{
type: 'scatter3D',
symbolSize: symbolSize,
encode: {
x: 'Country',
y: 'Life Expectancy',
z: 'Income',
tooltip: [0, 1, 2, 3, 4]
}
}
]
};
myChart.setOption(option);
});
相关文章
- 前端的3D(css3版本)--淘宝造物节3D创景的制作
- Solidworks如何在自定义的基准面上创建3D草图
- 3D打印
- [Python] Indexing An Array With Another Array with numpy
- [Python] Indexing An Array With Another Array with numpy
- PCL 3D-SIFT关键点检测(曲率不变特征约束)
- 3d button - where is OS type and version detected
- [Unity官方文档翻译]Primitive and Placeholder Objects Unity原生3D物体教程
- 3D游戏引擎设计与实现(1)
- 3D游戏引擎设计与实现(17)
- 3D游戏从入门到精通-24
- 在Vue项目中引入 ECharts 3D 路径图 Flights GL(需安装echarts、echarts-gl、jQuery依赖,已踩坑)
- 3D点云重建0-01:MVSNet(R-MVSNet)-资源下载(前奏准备篇)
- 【三】3D匹配Matching之曲面匹配Surface—Based——serialize_surface_model()算子
- 【三】3D匹配Matching之外形匹配Shape—Based——serialize_shape_model_3d()/ trans_pose_shape_model_3d()算子
- 3D数学基础
- 3D地形多层纹理混合加阴影渲染方法