One of the tools we used in my data science training to publish interactive web applications created with R was Shiny. I wanted to get a little more practice with Shiny and create an app that I thought could be of some interest to readers of my blog whether they visit for the secondary education aspect or data aspects I’ve been writing about more recently.
Below you will find an interactive map of the United States, written in R, using the googleVis package and Shiny. The left most tab includes ACT results, the middle tab includes SAT results, and the right most tab allows for comparison between the most comparable ACT and SAT results (i.e. the map compares “Reading” from the ACT to “Critical Reading” from the SAT).
Try not to take the comparisons between the states too seriously. As you can easily see by clicking on “Percent Tested”, some states have very few students participating in one test and many more in the other, which significantly skews results. For example, my own state of Illinois has the highest SAT results, but only 5% of our students take the SAT, likely among our highest achievers. We rank much lower on the ACT, but 100% of students took that test due to state requirements. Despite this major caveat, it’s interesting to see how different the results are across the country.
The map seems to look best when viewed in recent versions of Internet Explorer. All results used in the analysis are from the 2013 test. You can see the source of the ACT data here and the SAT data here. My source code can be viewed on GitHub.