Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kristw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
How can I drink a bubble tea to ensure that I don’t finish the tea before bobas?
(medium.com)
20 points
by
kristw
8y ago
|
11 comments
2.
▲
The most discussed moment for each Game of Thrones character on Twitter
(interactive.twitter.com)
1 points
by
kristw
9y ago
|
0 comments
3.
▲
Idioms you should know for software development
(medium.com)
2 points
by
kristw
10y ago
|
0 comments
4.
▲
Creating Yeoman generators easily with yeoman-easily
(medium.com)
1 points
by
kristw
10y ago
|
0 comments
5.
▲
Every goal in EURO2016, when it happened, who scored, and reactions on Twitter
(interactive.twitter.com)
1 points
by
kristw
10y ago
|
0 comments
6.
▲
How every #GameOfThrones episode has been discussed on Twitter, visualized
(interactive.twitter.com)
1 points
by
kristw
10y ago
|
0 comments
7.
▲
Create your own Grid Map visualization, a semi-automatic way
(medium.com)
3 points
by
kristw
11y ago
|
0 comments
8.
▲
by
kristw
11y ago
This example has text inside the boxes. I use svg's .getBBox() to obtain width/height for each label. http://twitter.github.io/labella.js/with_text.html The max width parameter is optional. I am not sure what
9.
▲
by
kristw
11y ago
That was to showcase that you can render it in any orientation. This example might be a more likely use case for left/right (all labels usually have same height) http://twitter.github.io/labella.js/with_text.html
10.
▲
by
kristw
11y ago
http://twitter.github.io/labella.js/with_text.html
11.
▲
by
kristw
11y ago
Here it is. http://twitter.github.io/labella.js/with_text.html
12.
▲
by
kristw
11y ago
This is not reingold-tilford. The algorithm has two parts. The first part is a heuristic to distribute nodes into multiple layers when it won't fit in one. Then for each layer, it is a physics simulation with the labels. Each label has
13.
▲
by
kristw
11y ago
fixed.
14.
▲
by
kristw
11y ago
The intention of this work was to find ways to put labels on any axis (1D). So if you want to use this to label peaks of area chart you can run labella to get the x position and then figure out y position by yourself. But it won't supp
15.
▲
by
kristw
11y ago
That's how I felt with the 90 degrees bends. However, you have the choice to draw it your own way. https://github.com/twitter/labella.js/blob/master/docs/Rende... renderer.getWaypoints(node) w
16.
▲
by
kristw
11y ago
Nice idea. Will try to add that when I have time.
17.
▲
A simple scaffold for angularjs + requirejs + d3
(kristw.yellowpigz.com)
2 points
by
kristw
13y ago
|
0 comments