Histogram Component #38
Labels
No Label
Bug
Component
Config
Good First Issue
Low-Priority
Page
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: www/cs-2022-class-profile#38
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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 has not been requested by anyone other than @a258wang, but I think it would be nice to have for some of the questions. The design can be similar to the various bar graphs we have.
It also seems like visx doesn't have a built-in histogram, but it shouldn't be too difficult to construct one using rectangles, similar to the bar graph.
barPadding
- setting that to approx. 0 should emulate the look that we want for the histogram.)My suggestion for approaching this would be:
BarGraphVertical
component as a starting pointHistogramData
or whatever, and make sure the x-axis labels are in the right place (centered on the lines instead of centered on the bars)Apparently D3.js (visx is built on top of D3.js) has some kind of histogram thingie, but visx doesn't have components for it, so we're just going to have to make a homebrew version using bargraph-like methods. 😅
5 minute design lol, hover effects can be same as bar graph
bottom labels should probably be strings even though semantically they represent numbers