Can we plot percentage with Plot_ly

D

Dev P

Guest
is there a way to plot percentages using plot_ly. For example, the below is used to plot the count of cut from diamonds dataset,

plot_ly(diamonds, x = ~cut)


enter image description here

But i tried to plot the percentage for cut. For example I need the percentage of "Good" to the total count. Is there a way to get it?

Continue reading...
 
Top