[This article was first published on Doodling with Data, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
One big strength of packages like shiny is the ability to easily vary parameters and view the results, especially in plots.Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
So here’s a small shiny app that I created to learn about reactivity, while also having fun.
The idea is simple. Vary many aspects of geom_segments in ggplot, and see what emerges. The things that I played with are canvas size, line origin and destination, line length, the angle and the colors.
Because it is art, I made the background black.
Take a look at the shiny app ShinySketch.
here:
The code can be found on github.
To leave a comment for the author, please follow the link and comment on their blog: Doodling with Data.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.