-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revised reflection for clarity (#77)
Close #76
- Loading branch information
Showing
1 changed file
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
# World Happiness Tracker App Dashboard Reflection (Milestone 3) | ||
|
||
During the second milestone, our team managed to implement all of the proposed features with some changes (documented in `m2-reflection.md`). So, this week, we focused more on refinements. Some of the specific changes are: | ||
During the second milestone, our team managed to implement all of the proposed features with some changes (documented in `m2-reflection.md`). Hence, this week, we focused more on refinements, which involve deviations from the original proposal. These changes include the following: | ||
|
||
- A new font. | ||
- The overall color scheme is now blue and yellow. This applies to the plots and the header. The key numbers have also been changed to blue. There is also now a new grey background color. | ||
- The theme was changed from `dbc.themes.BOOTSTRAP` to `dbc.themes.MINTY` for better font. | ||
- The overall color scheme is now blue and yellow . This applies to the plots and the header. The key numbers have also been changed to blue. Having a consistent color theme makes the dashboard more professional. | ||
- The background color was set to light gray. | ||
- Charts are now placed inside cards. All cards now are white in color, which contrasts well with the light gray background and makes the dashboard look clean, neat and easy on the eye. | ||
- The key numbers have been rearranged into the order of: happiest, unhappiest, difference of maximum and minimum happiness score, and the median happiness score. | ||
- The year selection widget now no longer has the line up to the selected year, which previously made it look like a range instead of a single value. | ||
- Charts are now placed inside cards for better visuals. | ||
- We have also taken inspiration from group 18's Vancouver Airbnb Listings and added a navigation bar for our header. This bar includes an collapsible "About" section for more information about the application, and a clickable Github link to our repository. | ||
- The year selection widget now no longer has the blue line on the slider up to the selected year, which previously made it look like a range instead of a single value. | ||
- We have taken inspiration from Group 18's Vancouver Airbnb Listings dashboard and added a navigation bar for our header. This bar includes an collapsible "About" section for description about the application, and a clickable GitHub link to our repository. | ||
- There is now a new footer, with the author names and the last deployed date repositioned. | ||
- We have turned off debug mode. | ||
- Page margin is adjusted for better visual. | ||
|
||
The repository is now restructured as well. Previously all the source code resided in the single `app.py` file. Now they have been broken down into several components: | ||
As described above, most of the changes made this week make the app more neat and easier to read, making it a more effective tool in conveying information to the target audience. The dashboard also looks more professional, and hence also more trustworthy, which is important for the purpose of education which was described in the original proposal. | ||
|
||
- `assets`: file for including custom CSS styling | ||
- `callbacks`: callback functions | ||
- `components`: the main components in the dashboard (cards, charts, filter, and navbar) | ||
- `data`: data preprocessing functions | ||
- `utils`: global variables to be accessed by multiple functions | ||
The repository was restructured as well. Previously all the source code resided in the single `app.py` file. Now they have been divided into several parts: | ||
|
||
Compared to last week, our dashboard now bears a much more appealing aesthetics, and it meets our expectations functionality-wise. However, there is still plenty of room for improvements. The country selector is not very flexible, as it only allows two countries to be selected at once, and there is a drop-down menu for each one of the countries. We can definitely improve it to make it much more flexible, whether it is to be able to select more than 2 countries, or to at least make it a single menu so that the user can select multiple countries by checking multiple boxes, which is a much more intuitive way. We are also looking to make the map more interactive. The map is the biggest part of the dashboard and therefore should bear more functionalities than just displaying the happiness score by countries. | ||
- `assets/custom.css`: file for including custom CSS styling | ||
- `callbacks/`: callback functions, which are further divided into three files based on similar functionality | ||
- `components/`: dashboard components, organized into four files (`cards.py`, `charts.py`, `filter.py`, and `navbar.py`) | ||
- `data/`: script which preprocesses raw data into proper format to be used in the dashboard, stored in `data.py` | ||
- `utils/`: global variables to be accessed by multiple functions, stored in `global_variables.py` | ||
|
||
Compared to last week, our dashboard now bears a much more appealing and professional appearance, and it meets our expectations functionality-wise. Still, there are areas that could be improved. First, the two dropdown filters currently only allow two countries to be selected at once. We switch to a single filter that allows the selection of multiple countries. The filter should also allow a limit to be set on the maximum number of countries selected. Another possible improvement is to allow the map to be clicked on to select countries. |