hack4impact-uiuc / nnb-frontend

Frontend for Neighborhood News Bureau
2 stars 0 forks source link

first iteration, log function #146

Open abjjabjj opened 6 years ago

abjjabjj commented 6 years ago

So currently it's a log function. There's a nice difference between a gap of 1 to 100 years (not too large, not too small) but at the same time the ones in between (take a look at 5 years vs 20 year gaps, the 20 looks like it's only twice the size of the 5 year) may not necessarily be the size you'd like them to be, so play around with it and tell me if you'd like some specific differences, i.e. you'd like gaps closer to min to grow slower or gaps closer to max to grow faster. An alternative function I'd suggest if you don't like the log is the sigmoid curve (https://en.wikipedia.org/wiki/Logistic_function)

abjjabjj commented 6 years ago

arctan would also work too. probably easier rthan sigmoid tbh

abjjabjj commented 6 years ago

or x^(1/3)

vrunjeti commented 6 years ago

i think the log looks pretty decent already. maybe scale all the intervals down a little (but still maintain the minimum width)?