timelyportfolio / sunburstR

R htmlwidget for interactive sunburst plots
http://timelyportfolio.github.io/sunburstR/articles/sunburst-2-0-0.html
Other
210 stars 123 forks source link

sunburst plot is rounding when it shouldn't v2.1.8 #117

Open michaelcurry1123 opened 1 year ago

michaelcurry1123 commented 1 year ago

The sunburstR package rounds counts without the user asking too. How can I change this behavior? Below the numbers will display as 810, 120, 140 respectively. This doesn't happen when numbers are < 100. From the documentation there doesn't seem to be a way to address this.

library(sunburstR) df <- data.frame(path = c("A","B","C"), pop = c(808,124,136)) sunburst(df, count = TRUE, width = "100%", height = 400)

hammerPC commented 1 year ago

您好,信件我已收到,将会尽快回复。   王鹏超

michaelcurry1123 commented 1 year ago

Following up on this is there a work around to show the non-rounded number?

MaarjaPajusalu commented 8 months ago

Also searching a solution for this one.