Skip to content

Data with High Values #429

@fabioand2k

Description

@fabioand2k

Hello,

if i try to run ggplotly with large values (even with low number of observations)

when run, crash my machine. (i tried with another machine, and same problem)

code below:

library(ggplot2)
library(plotly)

employee <- c('John Doe','Peter Gynn','Jolie Hope')
salary <- c(210000000, 234000000, 268000000)

employ.data <- data.frame(employee, salary)

p <- ggplot(employ.data ,aes(x=employee, y=salary)) +
geom_bar(stat='identity', color="black") +
scale_y_continuous(labels = function(x) format(x, big.mark = '.', decimal.mark = ',', scientific = FALSE))
ggplotly(p)

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions