echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Violin Series

Open zoeyy23 opened this issue 2 years ago • 6 comments

What problem does this feature solve?

背景:直方图和小提琴图是工程类数据分析的重要图表 目前的问题: 1.echarts不原生支持直方图,只能通过自己计算并用bar或者costum图来画 2.目前没有想到如何实现小提琴图,隐约觉得用costum的自定义svg能实现,但是感觉非常麻烦,因为小提琴图中的每一个数据都不同

小提琴图:https://g2.antv.antgroup.com/examples/general/violin/#violin

What does the proposed API look like?

能否为series增加histogram的种类,以及如何能够实现小提琴图

zoeyy23 avatar Jul 12 '23 02:07 zoeyy23

@zoeyy23 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Feature] How to realize the violin diagram?

BODY

What problem does this feature solve?

Background: Histograms and violin plots are important charts for engineering data analysis Current problem: 1.echarts does not natively support histograms, it can only be calculated by yourself and drawn with bar or costum diagrams 2. At present, I have no idea how to implement the violin diagram. I vaguely feel that it can be realized with costum’s custom svg, but it feels very troublesome, because every data in the violin diagram is different.

Violin diagram: https://g2.antv.antgroup.com/examples/general/violin/#violin

What does the proposed API look like?

Can the type of histogram be added to the series, and how to realize the violin diagram

echarts-bot[bot] avatar Jul 12 '23 02:07 echarts-bot[bot]

+1

Corgis avatar Sep 05 '23 02:09 Corgis

+1

thanhloc-17 avatar Nov 23 '23 06:11 thanhloc-17

Examples: image

image

Ovilia avatar Jan 31 '24 10:01 Ovilia

Examples: image

image

Hi @Ovilia , The violinplot you shown looks great. Can you provide the custom serie you made for reference?

CnBDM-Su avatar Mar 12 '24 03:03 CnBDM-Su

@CnBDM-Su These are just Googled images instead of using ECharts. I'm still working on this feature now.

Ovilia avatar May 16 '24 08:05 Ovilia

Looking forward to using this feature when it's ready!

2nPlusOne avatar May 24 '24 18:05 2nPlusOne

Is there an estimated launch time for this feature? @Ovilia

XijueYZ avatar Jun 03 '24 09:06 XijueYZ

https://github.com/apache/echarts-custom-series/blob/main/custom-series/violin

Ovilia avatar Oct 15 '24 07:10 Ovilia

https://github.com/apache/echarts-custom-series/blob/main/custom-series/violin

npm install 报错:'@echarts/custom-violin@*' is not in this registry.

XijueYZ avatar Nov 26 '24 08:11 XijueYZ