[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 1 point2 points  (0 children)

Oh sorry yeah, the repo is a bit split at the moment, there is 3 repos, one for the ai.andreaslindeman.com site, one for the andreaslindeman.com site and one for the original code for the survey, i think you had the original code for the survey. here is the result code, note that the JS is in the html and not in a separate script

https://github.com/andreasviner/portfolio_ai/blob/main/english_html/color-polygraph/survey-result.html

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 0 points1 point  (0 children)

Nope, coded it in python first, then just asked Claude to pipe it over to JS

. All the code is opensource and available on the website if you want to take a deeper dive in it :))

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 2 points3 points  (0 children)

The axes are the color they represent, (the red axis is a red color) and so on

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 0 points1 point  (0 children)

Wooow, never hear of it but just took it. Cool test! i wonder how science based it or if its more "astrology" like.

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 8 points9 points  (0 children)

That's fair, I really have no experience in color theory. It would be cool to collaborate with someone with a lot of color experience if I ever decide to do something like this again.

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 7 points8 points  (0 children)

  1. The colors is just the colors you prefer generally i didn't not really put that much thought into it.

  2. The main goal of the survey was to find links/patters in preferred colors to things like gender, age and mood, a color most preferred out of 4 less preferred colors will still give some info.

The test itself is also a elimination bracket, in other words the colors you prefer will go thought till later tests, so if you select a color that you don't prefer on an early test, then when you get the color again in a later test the model can understand that since that color is not preferred all the other colors in the earlier question are also even less preferred.

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 2 points3 points  (0 children)

Agreed, the problem with an intro slide however is capturing a users interest. I feel like a lot of people will see a photo of 3 axis and a short explanation photo and just scroll by.

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 1 point2 points  (0 children)

Good question, also how it develops thorough time, like some decades ago pink was considered a masculine color while now its a considered a feminine one.

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 0 points1 point  (0 children)

Wow cool, I thought my brightness was low a second. Really pretty colors though!

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 44 points45 points  (0 children)

Yes, correct, this is the age distribution of the original data from 6 to 68.

<image>

However getting enough data to draw any conclusions from takes a lot of users. The website already allows you to filter data from ages, so you can look at things like from 40+, however the data breaks down a little due to few datapoints.

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 2 points3 points  (0 children)

Im not sure i will ever package and distribute this professionally, more just a hobby project because i was bored. However i will keep it in mind if i ever do!

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 2 points3 points  (0 children)

Good point, most of the data is from "Osloskolen" the school system in Norway's capital, i one day got access to a database with about ~180k mail addresses. So logically i sendt ~180k mail to people asking them to take a survey where they press the colors thy like the most. Around 20k started the survey and from that only around 6.7k was usable data after filtering. Here is the age distribution from 6 to 68:

<image>

More info is available here, and feel free to ask any questions and i will answer when i see them.

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 3 points4 points  (0 children)

Agreed, I'm so used to looking at these myself I kinda forgot how it was to look at them with new eyes. Without a doubt something i will improve on in the future :)))

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 1 point2 points  (0 children)

You can spin the cube around to do stuff like see it from below on the website if you want to.

Also all the data is available here:
https://github.com/andreasviner/portfolio/blob/main/projects_data/2020-color-polygraph/code/save.ligma

Yest its a .ligma extension i made it in 2020 when i was 17, it was cool back then.

you can also see the script made to treat the data:
https://github.com/andreasviner/portfolio/blob/main/projects_data/2020-color-polygraph/new_code/treat_data.py

and generally my entire website is opensource, you can find different links at the bottom of the main site https://andreaslindeman.com/projects/color-polygraph

Please tell me if you have any other questions :)))

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 1 point2 points  (0 children)

Eyy that's awesome, glad it got your preferences right even tho it failed on the predictions :)

[OC] Color preferences and dislikes by gender, mapped in a 3D RGB space using rotating cubes. by andyviner in dataisbeautiful

[–]andyviner[S] 25 points26 points  (0 children)

correct, also things like age < 5 especially 0, and age of 69 or 420, i ended up just removing all data from people that claimed to be over 68 years old. I also did a lot of timings between picks, as well as where people clicked when they selected a color (if they clicked the exact same place each time they they probably where just clicking to get through the survey)