BREAKING CHANGE: update the implementation and configuration of the V… #2984
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
简介
小提琴图(Violin)是一种用于可视化连续变量分布概率密度的图表类型,通过核密度估计(Kernel Density Estimation, KDE) 将离散数据点转化为平滑的连续概率密度曲线,直观反映数据的集中趋势、分布形态及异常值。
Violin
的核心目标是从散点或点云数据中提取出其整体分布模式,并将其密度信息映射为一个连续的区域图或渐变效果。这种图表通常用于分析大量数据点的聚集区域、数据集中热点或数据分布的概率密度,例如在地理可视化中用于表示人口分布的密集程度,或者在分析中展示交易频率的区域性。代码演示
更多示例详见小提琴图
基础用法
核密度图
极坐标小提琴图
配置项
概览
light
Violin
组件默认在其上绘制了一个柱状图,我们可以通过 annotations 在上面叠加更多的图层,详见标注事件
详见选项-事件。
方法
详见图表概览-图表方法。