dreamRs / esquisse

RStudio add-in to make plots interactively with ggplot2
https://dreamrs.github.io/esquisse
Other
1.76k stars 227 forks source link

Using a dropdown to select variables rather than drag and drop #233

Open rsenft1 opened 1 year ago

rsenft1 commented 1 year ago

Love equisse! I'd like to be able to use it with datasets that have hundreds of columns though, and the drag and drop interface gets overpopulated. Is there a way to feed variables from a dropdown menu or other shiny UI element to equisse rather than using the drag and drop? Or to populate the drag and drop options by multiselecting a dropdown os other UI element? Thanks!

pvictor commented 1 year ago

It's a good idea, we could have a threshold at which we automatically switch to drop down menus if there are too many variables, with potentially an argument to force the choice between drag and drop and drop down menu.

kb2010 commented 1 year ago

Another idea would be to have the list of variables on the left had side as a long column with a search box at the top of the column and the list if scrollable. would make it so easy for data sets with lots of columns. Added option could be to have option to categorise the fields into the types so its easy to go right to the Colum you want.