[ ] referenced any relevant issues (or none exist)
Guidelines
Please add a description of this Pull Request's motivation, scope, outstanding issues or potential alternatives, reasoning behind the current solution, and any other relevant information for posterity.
Your PR Notes Here
Almost all the visualization stuff.
Added a few lines of code to the range selector to delete the old svg and table when a new one is picked.
Added legend to the weekly view, as well as a label for the y axis.
Centered the two graphs and added headers to them.
Fixed bug where the daily graph's bar chart was not working after mousing over the pie chart.
Bugs left:
-When user clicks "weekly" multiple times, multiple SVGs still render. I will attempt to use the same logic as I did with the range updater tomorrow morning to fix this. That is, using d3.selectAll to delete the old svg's and tables, and rendering new ones.
-There is no first tick mark for the x axis in the initial render of the weekly chart, but on picking from the range picker they appear. This bug is so minor and strange that I may just move to styling, but I will attempt to figure it out.
Assignee Tasks
Guidelines
Please add a description of this Pull Request's motivation, scope, outstanding issues or potential alternatives, reasoning behind the current solution, and any other relevant information for posterity.
Your PR Notes Here Almost all the visualization stuff.
Added a few lines of code to the range selector to delete the old svg and table when a new one is picked.
Added legend to the weekly view, as well as a label for the y axis.
Centered the two graphs and added headers to them.
Fixed bug where the daily graph's bar chart was not working after mousing over the pie chart.
Bugs left: -When user clicks "weekly" multiple times, multiple SVGs still render. I will attempt to use the same logic as I did with the range updater tomorrow morning to fix this. That is, using d3.selectAll to delete the old svg's and tables, and rendering new ones.
-There is no first tick mark for the x axis in the initial render of the weekly chart, but on picking from the range picker they appear. This bug is so minor and strange that I may just move to styling, but I will attempt to figure it out.