echarts4r icon indicating copy to clipboard operation
echarts4r copied to clipboard

can I create a pie-donut chart by e_pies?

Open 20korando opened this issue 3 years ago • 3 comments

image

what I would like to make is a pie donut chart that can show two equal(or subset) values in one pie chart functions such as arrange, does interconnect two values in two graphs, but I would like to see it on one graph. I've looked up for any examples or functions that could make this, but I couldn't find one. Really would appreciate any advice(maybe addtional JScode that could adjust this problem?)

20korando avatar Jun 10 '22 02:06 20korando

You're looking for sunburst

JohnCoene avatar Jun 10 '22 06:06 JohnCoene

You're looking for sunburst

Thank you for the advice But I think I failed to specify my intent well and confused you.

I want the total number of people in each group - in a pie the total number of woman in each group - in a donut

What I intend by doing this is, I would like to have the proportion of pie and donut different from each other, so that I could show clearly that, although the total number of group A is bigger than group B the higher proportion of Women in Group B is shown in a donut.

Sorry for the misleading request, Still grateful for the new function that I was not aware of!

20korando avatar Jun 10 '22 07:06 20korando

@20korando, are you trying to present the entire Titanic hierarchy like below?

image

If not, please provide some code (data, chart) and/or sketches of desired result.

helgasoft avatar Jun 11 '22 03:06 helgasoft