I am trying to plot a bar graph using plotly library in R. The x-axis goes from the range 0 - 10000, but the y-axis have points only for 100,250,500,1000,1500,2000,2500,5000,10000. But I am getting unnecessary x-axis points for rest of the values which is making the bars very thin. If I could manage the x-axis range with manual values then my bar could look better and I could also increase the width of my bars!
Kindly help me regarding this!
Any help would be appriciated.