You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not sure what the easiest way to incorporate this might be, but hope it's possible!
this would also be complimented, I think, by the addition of a 'Scale-x' option in visualize_ui.R, since this frees the scale and makes the plot much easier to digest.
The text was updated successfully, but these errors were encountered:
ColinConwell
changed the title
Allow sort with facets in visualize
Allow sort with facets in barplots visualizer
Nov 8, 2021
Interesting suggestion @ColinConwell. Can you share an simple R example and the plot that you get out? I'm interested in this option but would prefer to avoid adding a dependency on tidytext
There are of course other ways of doing this, but they tend to involve creating rankings and then swapping the ranks with the names of the discrete axis labels. If that sounds preferable, I could post an example of that method, as well?
A nice addition to the radiant.data visualizer would be to add the option to sort barplots even with the addition of facets.
I've written a preliminary version of this that's working decently, using tidytext's reorder_within() function.
Beginning at line 510 in radiant.data's visualize.R:
not sure what the easiest way to incorporate this might be, but hope it's possible!
this would also be complimented, I think, by the addition of a 'Scale-x' option in visualize_ui.R, since this frees the scale and makes the plot much easier to digest.
The text was updated successfully, but these errors were encountered: