Shiny is Cool as Hell

A suprisingly intuitive tool for data democratization.

Jason Bixon https://jasonbixon.netlify.com (Merkle Inc.)https://merkleinc.com
04-02-2019

I have taken the past month or so to make progress on a Code for Baltimore project I’ve been working on since moving to Baltimore. As it stood we had created a static website with a map using Leaflet to identify where nonprofit organizations are in Baltimore and what they do. This necessitates not just a map or other visualization but a more robust tool that allows for users to explore the data themselves. Although our static site could do some limited filtering we quickly outgrew its capabilities. The next logical step was to develop a web application.

Leaflet is an awesome interactive mapping library, but we needed more from it.
Leaflet is an awesome interactive mapping library, but we needed more from it.

I was initially skeptical of my ability to implement this due to a recent attempt at Node.js which practically made me write off web development wholesale. My focus within data is decidedly not in development, but I also understand the power in building tools for data exploration. This may be an understatement, and to clarify I think empowering non-technical audiences to explore data in an intuitive way is one of the most challenging, rewarding, and important applications of data expertise in today’s landscape. To that end, I am endlessly thankful for the R ecosystem which makes handling web frameworks and web development as painless as possible.

While far from finished, I was able to build a fairly robust tool in a few hours.
While far from finished, I was able to build a fairly robust tool in a few hours.

Shiny is mature enough that it has implementations of tons of web components (selectize.js, DataTables, Leaflet) and is built on Bootstrap for easy frontend manipulation. To ground this back to why it’s so useful, I could build a reactive application with intuitive inputs and outputs as well as a landing page to walk the user through the tool, all in a few hours and with no JavaScript experience. The cherry on top is I can do any data manipulation needed in a language best suited for it and easily deploy the tool once I’m satisfied.

I still have a lot to learn about such a powerful framework, but the most important takeaway to me is how empowering it felt to stand up a tool that can be shared, used, explored, and does not have many of the limitations that sharing an analysis comes with.

Citation

For attribution, please cite this work as

Bixon (2019, April 2). Jason Bixon: Shiny is Cool as Hell. Retrieved from https://jasonbixonblog.netlify.com/posts/2019-04-02-shiny-is-a-godsend/

BibTeX citation

@misc{bixon2019shiny,
  author = {Bixon, Jason},
  title = {Jason Bixon: Shiny is Cool as Hell},
  url = {https://jasonbixonblog.netlify.com/posts/2019-04-02-shiny-is-a-godsend/},
  year = {2019}
}