Giter VIP home page Giter VIP logo

happy-dash-r's Introduction

happy-dash-r

An interactive exploration of the World Happiness Report in R.

Heroku app here.

Demo:

Description of Dashboard Design

This dashboard is to compare happiness across multiple countries. The dashboard will be divided into two main screens: an overview and a detailed view. Both screens will have some aspects in common: they will both contain a menu that will allow the user of the dashboard to select the features they want to analyze as well as the geographies they want to compare. Geographies can be divided into countries or continents. For both screens the majority of the screen will display visuals and the user will be able to select the date range for the visuals as well. This date slider will be located on the upper right side of the screen in both screens.

Features Completed:

Detailed View

Detailed View

In detailed view, the user is able to select all features and any desired countries. On the visual section, they will be shown up to 8 line charts. The first and central one will display happiness scores over time by country. The other line charts will be charts of the individual features and will appear below the central chart. There will be a legend displaying the country or continent names as well as the corresponding colours for each.

Features To Be Implemented:

Overview View

Overview

In the overview, in the menu the user can select all or a certain number of features. This also applies to countries and continents. In the visual section there will be one chart which will be a stacked horizontal bar chart of the selected features that comprise happiness score. On the left side will be the names of each country, their ranking (i.e. 1) and their happiness score. In the bottom will be a legend with the corresponding colours to given features. (Time permitting) there will also be a button in the bottom left of the visual that will allow for the user to toggle it to a choropleth view (map view).

Running Locally:

To run this app locally and modify it - first clone this repo:

$ git clone https://github.com/UBC-MDS/happy-dash-r.git

Install the required packages using the following commands from the console of RStudio on your computer:

install.packages(c('dash', 'readr', 'here', 'ggthemes', 'remotes', 'tidyverse', 'devtools'))

Finally, run the app with:

$ Rscript app.R

happy-dash-r's People

Contributors

dbandrews avatar aidanmattrick avatar kshahnazari1998 avatar

Watchers

James Cloos 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.