Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI suggestion: Sort M/F or F/M #11

Open
chrisaldrich opened this issue Jul 14, 2016 · 5 comments
Open

UI suggestion: Sort M/F or F/M #11

chrisaldrich opened this issue Jul 14, 2016 · 5 comments

Comments

@chrisaldrich
Copy link

Given the prevalence of older men with younger women and the fact that currently the largest gap is actually a MUCH older woman and a younger man, it would be interesting if the sort could be done on a gender basis with the +# indicating one direction and a -# indicating the reverse. This way one could more easily emphasize the larger M/F gap and the way in which it skews. It would also more easily highlight the far fewer cases in which women exceed men in age.

@lynnandtonic
Copy link
Owner

@chrisaldrich Thanks for the suggestion! Great idea. I'm noodling on this and will post some options here soon.

@lynnandtonic
Copy link
Owner

I added some initial markup and styling for a sorting feature here: https://github.com/lynnandtonic/hollywood-age-gap/blob/sorting/src/views/templates/index.jade#L39-L45

I was thinking three options:

  • Age gap (default, as it is now)
  • Older man
  • Older woman

For the "Older man" it would sort cards in the following order:

  • Man older descending age gap
  • Man older no age gap (0 years)
  • Woman older ascending age gap

Same idea for "Older woman". Calculations would need to account for same gender couples too.

Does that seem like a good approach?

@JasonRose Would love your thoughts here too!

@sansthesis
Copy link
Contributor

This should work. implementing the other sorts shouldn't be an issue.

@chrisaldrich
Copy link
Author

I had noticed a few same gender couples, but hadn't thought about including those as breakout category, but I suspect that some gender studies researchers would find this a useful visualization for their work. It's also likely to spur them to add that kind of missing data.

@lynnandtonic
Copy link
Owner

Some things have changed for this and the markup is here now: https://github.com/lynnandtonic/hollywood-age-gap/blob/sorting/src/views/templates/index.pug#L39-L45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants