Skip to content

Yiwen-Zhang-259/Shiny-Visualization-taxiNYC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shiny dashboard : Analysis on Taxi Duration in NYC

Creator & Author : Yiwen Zhang

logo

This is the shiny dashborad for analysis on taxi duration in NYC, hope you can enjoy your exlporation. And if there is any error, please feel free to write a github issue.

Thank you and have fun ! :)

User guide

Installation of packages

install.packages(c(“tidyverse”, “plotly”, “shiny”, “shinydashboard”, “ggplot2”, “scales”, “grid”, “corrplot”, “alluvial”, “dplyr”, “readr”, “data.table”, “tibble”, “tidyr”, “stringr”, “forcats”, “lubridate”, “geosphere”, “leaflet”, “maps”, “shinythemes”, “bookdown”))

It should be noted that in order to make “wday” function work normally, please load package data.table first and then load package lubridate :)

Launch the app

Run App

Shiny Application User Interface

Main page

Once you have launched this app, it comes to the main page as below.

logo

You can click the dropdown menus to get contact with creator by email or get support from Gihub. Also, you can zoom in or zoom out to view this distribution map in detail.

logo logo

And if you want to hide the navigation bar, please just click the button in header, just next to the title.

logo

Subpage 1 point plot

Let’s explore the first subpage. You can select the provider by clicking the button inside the box. You can select one only or two at the same time.

logo

When you select only one, the figure is like the left below, and when select two, it is like the right one below. Both bar chart and dotted line chart can be controlled by your selection.

logo logo

logo logo

Also, you can manually set the time range or just click the triangle button, the time slider will move on automatically, and the figures will change with it as well.

logo

Subpage 2 box plot

Then let’s move to the next page, it’s the boxplot to show how variation in passenger count affect the duration. You can select the number of passengers from the dropdown list from 0 to 9 to get different outputs of the boxplot as below.

logo

Subpage 3 Heat diagram

The last page about figures is Heat diagram. When you mouse over the diagram, the information of each value will show.

logo

And if you want to change the type of the right-side regression curve, just click the button beneath it named “Point plot”, then a scatterplot will replace it to display.

logo

About page

The last page is the About page to identify the creator and contain the introduction as well as the references.

logo

You can click the link to access to the data source or go to the creator’s Github page.

logo

This is all about the guide of exploration in this app. Due to the large amount of data, the display of graphs will be a little slow, please wait for a while when changing to a different page. I have tried my best to improve the running speed by processing the data. Sorry for the inconvenience. Hope you can get something inspired and have fun! :)

Reference

About

Shiny Dashboard for Taxi duration Analysis in NYC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages