cs-2022-class-profile/components
Mark Chiu 2d34b84cb0
continuous-integration/drone/push Build is passing Details
Add Stacked Bar Graph component (Closes #3) (#37)
Notes:
- Add Stacked Bar Graph component using the `BarStack` component from Visx.
- Hovering over a bar will add a highlight on the hovered bar and not the entire stacked bar (I have not yet found a way to highlight the entire stacked bar)
- Hovering over a bar will also show a tooltip box with the data for each bar. (The number represents the height of the bar and not the cumulative stacked bar height)
- In the mock data, the number given to each key represent their individual height (and not their overall value). The graph calculates the total height of the stacked bars.
- Missing percentage next to the left axis labels
- Resizable width, height, and margins. Customizable number of ticks for the y axis.

![image](/attachments/0ef5c998-c6c3-4e36-971e-6a33fe72ed1e)

Staging: https://stackedbar-component-csc-class-profile-staging-snedadah.k8s.csclub.cloud/playground/
Co-authored-by: Miniapple8888 <miniapple8888@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #37
Reviewed-by: Amy Wang <a258wang@csclub.uwaterloo.ca>
2022-10-01 20:54:05 -04:00
..
About.module.css Add About Component (#48) 2022-09-12 10:20:10 -04:00
About.tsx Add Sections Component (#49) 2022-09-12 20:07:03 -04:00
BarGraph.module.css Fix monospace fallback (#28) 2022-07-27 20:45:10 -04:00
BarGraph.tsx Bar Graph Component (#16) 2022-07-27 19:46:08 -04:00
Boxplot.module.css Add BoxPlot component (Closes #6) (#34) 2022-09-03 11:13:58 -04:00
Boxplot.tsx Add BoxPlot component (Closes #6) (#34) 2022-09-03 11:13:58 -04:00
CenterWrapper.module.css Add Textbox Component (#45) 2022-09-09 17:01:34 -04:00
CenterWrapper.tsx Add Textbox Component (#45) 2022-09-09 17:01:34 -04:00
ColorPalette.module.css Add Wordcloud Component (#27) 2022-08-04 02:17:19 -04:00
ColorPalette.tsx Add colors in JS and Color Palette (#18) 2022-07-01 14:30:57 -04:00
ComponentWrapper.module.css Sample page and graph wrappers (#32) 2022-09-02 17:39:46 -04:00
ComponentWrapper.tsx Sample page and graph wrappers (#32) 2022-09-02 17:39:46 -04:00
PieChart.module.css Pie chart component (#19) 2022-09-07 22:20:30 -04:00
PieChart.tsx Pie chart component (#19) 2022-09-07 22:20:30 -04:00
QuotationCarousel.module.css Add Quotation Carousel (#36) 2022-09-02 21:53:05 -04:00
QuotationCarousel.tsx Add Quotation Carousel (#36) 2022-09-02 21:53:05 -04:00
Sections.module.css Add Sections Component (#49) 2022-09-12 20:07:03 -04:00
Sections.tsx Add Sections Component (#49) 2022-09-12 20:07:03 -04:00
StackedBarGraph.module.css Add Stacked Bar Graph component (Closes #3) (#37) 2022-10-01 20:54:05 -04:00
StackedBarGraph.tsx Add Stacked Bar Graph component (Closes #3) (#37) 2022-10-01 20:54:05 -04:00
Timeline.module.css Add Timeline Component (#35) 2022-09-12 20:00:01 -04:00
Timeline.tsx Add Timeline Component (#35) 2022-09-12 20:00:01 -04:00
WordCloud.module.css Add Wordcloud Component (#27) 2022-08-04 02:17:19 -04:00
WordCloud.tsx Sample page and graph wrappers (#32) 2022-09-02 17:39:46 -04:00