Add Histogram Component #66
Loading…
Reference in New Issue
No description provided.
Delete Branch "histogram-component"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds the histogram component. The histogram component is a bargraph component with few changes:
barPadding: 0
but this makes the bar wider)Note:
DEFAULT_LABEL_SIZE
can be added as a global style to be reused in multiple components?Screenshot:
Staging:
https://histogram-component-csc-class-profile-stagin-snedadah.k8s.csclub.cloud/
This is great! My one nitpick is, can we figure out some way to have a 0 appear in the bottom left corner, on the x-axis? I'm thinking that we can change the format of the data prop that the Histogram takes in, and then transform the data before passing it into the Bar Graph (and perhaps change the
shiftBottomAxis
prop to beisHistogram
and then we can use that to make sure everything works the way we want it to).@e26chiu Let me know if you'd like to pair on this and we can find a time to tackle it together!
Pull request closed