How to create a box-plot using plotly in R

0 votes
I want to explore how to create box- plot in R using plotly. I know there are many other functions ad packages, but i want to explore this function.

Can someone please help me out!
Jul 4, 2018 in Data Analytics by DataKing99
• 8,250 points
8,636 views

1 answer to this question.

0 votes

You can use this command to create a box-plot in R:

plot_ly(house,y=~price,x=~rooms,color=~rooms,type="box")

boxplot-R Interview Quesitons-Edureka

answered Jul 4, 2018 by CodingByHeart77
• 3,750 points
Hi! Thanks. My question is, how I supposed to have my database organized for this code?

You have to convert your database in pandas dataframe. After that you can directly use in plotly function.

Can you tell, about your dataset format?

Related Questions In Data Analytics

0 votes
1 answer

How to create a pirate plot in R?

Hi@akhtar, A pirate plot a plot contained in ...READ MORE

answered Oct 30, 2020 in Data Analytics by MD
• 95,460 points
1,892 views
+1 vote
1 answer

How to convert a list of dataframes in to a single dataframe using R?

You can use the plyr function: data <- ...READ MORE

answered Apr 14, 2018 in Data Analytics by Sahiti
• 6,370 points
7,983 views
0 votes
1 answer

How to create a new R6 Class in R?

You have to first create an object ...READ MORE

answered Jul 5, 2018 in Data Analytics by DataKing99
• 8,250 points
1,655 views