Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I used two (2) methods in creating the first task, Map:
Method 1: I converted the .csv files to a .json file and pasted it into an array to create the map. This method was just a backup method since I cannot seem to get Method 2 to work. I just found out a few hours ago that all I needed was to run my code via the terminal using a Simple HTTP request handler.
Method 2: Map was created from JSON data on the project folder. I was pressed out of time. There are several features that weren't implemented due to time constraints. I only started working on using this method when I learned that the reason why my code wasn't running because I needed to run a Simple HTTP request handler via the terminal.
Another method was also attempted (code commented out in the main.js file) Map was created from data directly from the CSV on the project folder. A map was created with the tooltip showing data with some bugs. This method was not pursued in favor of the Method 2.
For the Piecharts:
Method: Created using pie Highcharts. Toggling data is made possible using Bootstrap 4 nav-pills. Again, there were time constraints. I realized also just today that charts could have been created using google charts and Google Sheets. I selected Highcharts because I like the designs and used Bootstrap 4 for more control.
Anthony Rivera