title: how to set numbers as x-axis in R
body: <p>I want to make a bar chart and try to add these numbers as x-axis, but it dislocates items 10 and '>10':</p>
  
  <pre><code>plot_ly(x = c(1, 2,3,4,5,6,7,8,9,10,'&gt;10'),
          y = c(5, 11, 23,14,21,18,20,19,12,31,21),
          name = "dd",
          type = "bar", 
          xaxis = list(title ="tr"), 
          yaxis = list(title = "cc")) 
  </code></pre>
  
  <p>I get the following graph:</p>
  
  <p><a href="https://i.stack.imgur.com/XtNTI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XtNTI.png" alt="enter image description here"></a></p>