Kanaries / pygwalker

PyGWalker: Turn your pandas dataframe into an interactive UI for visual analysis
https://kanaries.net/pygwalker
Apache License 2.0
10.7k stars 545 forks source link

How to display percentage number on top of arc aka. the pie chart? #569

Open tomriddle1234 opened 1 month ago

tomriddle1234 commented 1 month ago

now, there isn't such function yet? also, is there any way to annotate numbers on any chart generated? so that pygwalker at current stage is for prototyping?

tomriddle1234 commented 1 month ago

I did some research, found that pygwalker can export vega code, so, by manipulating vega code, one can properly reformat the charts.

for example, my pip installed pygwalker doesn't support order in arc chart, but by adding this line,

"order": {"field": "value", "type": "quantitative", "sort": "descending"},

the pie chart would be ordered.

longxiaofei commented 1 month ago

Thanks for your feedback, Kanaries team will support these features within two weeks.