Live data from Hacker News

Labella.js – placing labels on a timeline without overlap

twitter.github.io

61–70 of 83 posts

Re: Labella.js – placing labels on a timeline without overlap

#61
post #60

Earlier quoted context omitted.

It's terrible UX. Why do I care that the algo is still running while the window is scrolling? Detect the scroll event and pause the algo. Anyway, it's not fit for displaying a a lot of events, so that should be noted. The resulting diagram is incomprehensible. I'm talking data vis basics here, not being clever. C'mon.

Even the demo UI gives you the options to stop it from showing the intermediate steps, so your complaint is mostly that the demo doesn't magically pick the best parameters but lets you play with them?

That wasn't obvious from first use and at any rate the resulting diagram for anything above a trivial number of labels is incomprehensible. So magucally arranging labels is not really scalable. You need a differemt visualization model. That should be stated and made clear up front.

Re: Labella.js – placing labels on a timeline without overlap

#62
post #50

How complex would it be to do it without taking in the min/max width parameters? It soon becomes insanely complex when you want draw a graph with nodes of variable width and height. Say for example if you wanted to add text inside the boxes and you want the box width to be determined based on the text. I have previously tried to adapt the default tree layout algorithm (Reingold–Tilford?!) in D3 and failed miserably.…

One way to add more text is to use the labels as buttons/links. Have a text box adjacent (above, below, to the side). Have the text in the text box change based on which label you click.

Re: Labella.js – placing labels on a timeline without overlap

#63

Earlier quoted context omitted.

Why is any critical feedback is being down voted? Is HN now just full of myopic mob mentality? Seriously?

So down voting a question about why my critical feedback was being voted down without legitimate argument (or even just an educated one) proves that HN can be a myopic mob sometimes (actually often) I suppose this will be down voted too? Silencing critical feedback feels good, eh?

I will always downvote complaints about downvotes.

I do this because

  * I don't want to see complaints about downvotes
  * I believe that they are unconstructive 99% of the time
  * I don't think anyone else wants to see them

Re: Labella.js – placing labels on a timeline without overlap

#64
post #63

Earlier quoted context omitted.

So down voting a question about why my critical feedback was being voted down without legitimate argument (or even just an educated one) proves that HN can be a myopic mob sometimes (actually often) I suppose this will be down voted too? Silencing critical feedback feels good, eh?

I will always downvote complaints about downvotes. I do this because * I don't want to see complaints about downvotes * I believe that they are unconstructive 99% of the time * I don't think anyone else wants to see them

HN also has a rule about it:

Please resist commenting about being downvoted. It never does any good, and it makes boring reading.

https://news.ycombinator.com/newsguidelines.html

Re: Labella.js – placing labels on a timeline without overlap

#66

Earlier quoted context omitted.

Why am i being down voted for reporting that it wobbles, flickers and shakes (on latest Chrome) when you scroll with a large number of points? I should be up voted because this is something that needs to be pointed out to anyone who wishes to use this library. And 200 points aren't a lot of points when it comes to presenting data. It just that this attempts with futility to work with any number of points and it simpl…

It's probably to do with the snark - intentional or otherwise - in your leading "Whoops!" - it comes across as "hey, everyone, I'm really clever because I found a flaw" which a) several other people found anyway b) you didn't actually report accurately; as others point out, the 'wobbling' is the positioning algorithm still running, nothing to do with scrolling c) is an edge-case; no matter what your claim that "200 p…

That describes just about every high ranking regular on this site. It's a circle of big headed fellows who pat each other on the back, if you're in said circle, or down vote to eternity if you're not.

Re: Labella.js – placing labels on a timeline without overlap

#67
Can someone briefly explain, at a high level, the positioning algorithm that one would use to solve a problem like this?

Reingold–Tilford was referenced below but doesn't seem applied in this case.

I've attempted to look through the code here but comments are limited and it is pretty imperative.

Re: Labella.js – placing labels on a timeline without overlap

#69

"Shakes, wobbles and flickers" when user is scrolling while algo is running with 200 points, which isn't a huge number of points if you consider other means of showing time series data. Positioning algo is dumb if it doesn't take UX into account when number of points is relatively large. It should pause while the user is scrolling. Also, it is a futile to suggest that automatically placing labels is scalable for any…

I didn't downvote, but isn't this comment just rearranged copy/paste from your previous comments?

Yes because the original got muted for no just reason and with no explanation. Are you able to follow this logic?

Re: Labella.js – placing labels on a timeline without overlap

#70
post #59

Earlier quoted context omitted.

Why is any critical feedback is being down voted? Is HN now just full of myopic mob mentality? Seriously?

Your tone I suspect.

I should down vote u then? Isn't it myopic to down vote people because of some perceived subjective quality like tone?
Post reply on HN