@cpsievert @timelyportfolio I was trying to answer [this question](http://stackoverflow.com/questions/37122216/plotly-r-converts-numeric-factor-levels-to-numeric-values) on SO and came across this: ``` library(plotly) df <- data.frame(x = c(1, 2, 4, 8, 16, 32), y = 1:6) df$x <- as.factor(df$x) ``` ``` # Works fine p <- ggplot(df, aes(x = x, y = y)) + geom_point() p ```  ``` # Looks wrong pp <- plot_ly(df, x = x, y = y, mode = "markers") pp ```  ``` # works fine ggplotly(p) ``` 