Code Monkey home page Code Monkey logo

dataviz-r's Introduction

OpenSDP Dataviz Tutorial (R)

Plotly + R Shiny

This example tutorial will teach you how to use Plotly and Shiny in R to create interactive data visualizations. The first part of the tutorial is interactive and uses the learnr R package to teach you plotly in your web browser or RStudio viewer. In the second part of the tutorial, switch to opening the numbered .R files in RStudio. You can still follow along in the tutorial for the second half.

Set Up

  1. Download and install R.

  2. Download and install RStudio. Make sure you have the latest versions!

  3. Inside RStudio go to Tools -> Install Packages and install learnr, plotly, shiny, shinythemes, and all dependencies. If the install of any of the packages fails because of dependencies, be sure to search for and install the dependency, then try to install the package again. If you have any of these packages already, be sure to update them.

  4. If you are getting this tutorial from the Github, download (zip file) or clone this repository. If you have downloaded it from the OpenSDP website, unzip and extract the files.

  5. Open the plotly_shiny_tutorial_v2.md file in RStudio and hit the green arrow where it says "Run Document."

  6. After finishing the first part of the tutorial, open a new RStudio instance and open the .R files to work on the second part of the tutorial on Shiny. You can still follow along in the tutorial.

About

This tutorial was originally authored by the Strategic Data Project.

OpenSDP is an online, public repository of analytic code, tools, and training intended to foster collaboration among education analysts and researchers in order to accelerate the improvement of our school systems. The community is hosted by the Strategic Data Project, an initiative of the Center for Education Policy Research at Harvard University. We welcome contributions and feedback.

dataviz-r's People

Contributors

jjallaire avatar kmuhl avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.