How can I plot data in a CSV file after uploading it using R shiny? I have used the code below and seems not working for me

Hi! Welcome! Have you taken a look at the file upload example in the Shiny gallery?

https://shiny.rstudio.com/gallery/file-upload.html

You will need to convert the CSV into a data frame. After that, you can plot it using typical methods. There are lots of examples of plotting in Shiny in the gallery, as well: https://shiny.rstudio.com/gallery/

If you need more specific help, you'll probably need to provide more of your app's code — ideally, a self-contained reproducible example. Some helpful FAQs:


1 Like