Skip to content

Commit

Permalink
Merge pull request #29 from aylapear/master
Browse files Browse the repository at this point in the history
Milestone 3 and links in README
  • Loading branch information
rzitomer authored Jan 26, 2019
2 parents e9995dd + 638601d commit f3d020a
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 6 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ A project visualizing Marshall Project data through Shiny App
Link to Deployed App: https://lyiris22.shinyapps.io/crime-data-app/

Milestone 2: https://github.com/UBC-MDS/Crime_Data/blob/master/Milestone2.md

Links to the feedback our group gave:
https://github.com/UBC-MDS/DSCI532_Davy_Reza/issues/7
https://github.com/UBC-MDS/DSCI_532_Cancer-Incidence/issues/18
https://github.com/UBC-MDS/DSCI532_Youtube-Trending/issues/13
12 changes: 6 additions & 6 deletions crime-data-app/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,21 @@ ui <- fluidPage(
)
),
tabPanel(
title = "Info",
title = "Help",
sidebarLayout(
# sidebar for chart, input name changed
sidebarPanel(
),
# main panel
mainPanel(
h6("This app allows you to compare violent crime rates from 1975 to 2015 for various cities across the United States.
The data for this app has been sourced from the Marshall Project and contains population data and four type of violent crimes: homicide, rape, robbery,
and aggravated assault."),
h6("This app allows you to compare violent crime rates from 1975 to 2014 for various cities across the United States.
The data for this app has been sourced from the Marshall Project and contains population data and violent crimes rates for homicide, rape, robbery,
and aggravated assault. With the different tabs you are able to compare national and municipal level data"),
h5("Map"),
h6("Use the slide bar to select a single year by sliding it back and forth. Each crime type can be selected individually by ticking the checkbox, if multiple boxes are selected the crimes rates will combine to the total crime rate."),
h6("Use the slide bar to select a single year by sliding it back and forth, you can click the play button for the slider to play through all the years. Each crime type can be selected individually by ticking the checkbox, if multiple boxes are selected the crimes rates will combine to the total crime rate, the default is having all the crimes selected which shows the total crime rate"),

h5("Single City"),
h6("Select a different city from the drop-down menu and control which lines are drawn by selecting the crime checkbox. The table displays the difference from the national average, the national average used here was calculated only from the cities in this data set. An overall safety ranking out of 67 based on the total crime rate for that year.")
h6("Select a different city from the drop-down menu and control which lines are drawn by selecting the crime checkbox, the default has all crime types selected. The table displays the difference from the national average, the national average used here was calculated from this data set. An overall safety ranking out of 67 based on the total crime rate for that year.")
)
)
)
Expand Down
50 changes: 50 additions & 0 deletions docs/Milestone3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Milestone 3

### Reflection on the usefulness of the feedback you received

The feedback session was very insightful and helpful in updating our app to be more user
friendly. Before going into the feedback session we knew there were some bugs
with our app but it was interesting to have people find new issues. We were able
to use the feedback session to improve our app visually and functionally.

##### General Feedback
The feedback for our app was very positive. People generally found our app intuitive
and easy to use.


##### Map Tab
With the Map tab a consistent piece of feedback we received was having
the single city drop down widget present when it didn't change the map, this was a known
issue before the feedback session and was not surprising that users found this frustrating.
A piece of feedback that we received from several reviewers was the year slider widget looked like a range
which was something we did not expect users to say. This piece of feedback was very helpful as we realized our design wasn't as intuitive as
we had thought. We had a few suggestions to changes the style of our crime rate
circles on the map. Another piece of consistent feedback was providing more
info about crime rate circles by adding more detail to the tool tip and to add a scale to the
circle size. We found users didn't know you could click on the circles to find out the city name.

##### Single City
For the Single City tab the main piece of feedback was about removing the widgets that didn't change anything on the tab.
We received comments about our plot not displaying when the tab was first selected and several of our reviewers commented on being confused about
what the bars on the plot were displaying.



### Reflection on how your project has changed since Milestone 2, and why

Our app has become more functional and visually appealing since Milestone 2. We felt the feedback was very helpful in shaping our app to be better.
We added an Help tab to contain information about the data set and to provide simple instructions on how to use the app.

We removed the widgets on each tab that didn't function, which meant removing the
select a city widget from the Map tab. We tried to changed the style of the year slider since in our feedback session
several reviewers thought it was displaying a range, but we were not able to find a way to style it differently. We updated the Map tab
so when you hover over the city it display the values for the crime rates and the city names, which is much more intuitive then clicking. We did change the style
of the circles on the map by making them more transparent so you can see overlapping data better. A big change to the Map tab was changing the crime rates from a drop down menu
to a checkbox where now the crime rates will add up as more are selected.

On the Single City tab we removed the year slider widget and changed the crime type from a dropdown widget to check-box widget to make the plot more interactive, we are also hoping this will help solve
some of the confusion around the style we have chosen to display population. During the feedback session we received lots of feedback about
placing population on a separate plot but we did not do this as we wanted population and the crime rates together so the user
can easily see if the crime rates are changing due to changes in the population. We are hoping the new style of selecting population and having it interactively drawn on the plot will help to solve the confusion users had. We were surprised we
didn't receive more feedback on the table but found people barely even noticed the table. So we made changes to make
it stand out more. We improved the overall design appeal of our app by adding a theme and increasing the font sizes.

0 comments on commit f3d020a

Please sign in to comment.