Having this object of events with their participants:
const myData = {
"event_1": ["1", "2","3"],
"event_2": ["11", "5","8", "9"],
"event_3": ["1", "2","5"],
"event_4": ["1", "2"],
"event_5": ["6", "7","8"],
"event_8": ["1", "6","9"]
}
each number represents a participant.
For example, in event_3 there were participating the people with ids 1, 2 and 5.
I want to create a user interface like this:
For each event should exist a row and inside that row to be an element (like a square) for each participant. The squares should be clickable like redirecting to localhost:3000/participant_id.
If there are more elements on the row than the screen can share there should be able to scroll horizontally.
Also, being able to scroll vertically if there are more than a certain number of rows.
I know that it's not a usual question on this website, I would like to know if it's possible to do it (maybe with Material UI or Semantic UI) because I've researched a bit and didn't find something to help me.
Do you have any ideas about how to make something like this in React?
