Live data from Hacker News

Viewing profile — kristw

kristw

HN member
Joined
Wed, Dec 04, 2013, 7:24 PM UTC
HN karma
18
Public activity
17 items

About kristw

Visualize data at @twitter during the day. Battle with open data and code random stuffs at night.

Recent public activity

  1. story
  2. story
  3. story
  4. story
  5. story
  6. story
  7. story
  8. comment
    Comment #10675049

    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 …

  9. comment
    Comment #10675028

    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.git…

  10. comment
    Comment #10675024

    http://twitter.github.io/labella.js/with_text.html

  11. comment
    Comment #10674483

    Here it is. http://twitter.github.io/labella.js/with_text.html

  12. comment
    Comment #10673941

    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 …

  13. comment
  14. comment
    Comment #10673919

    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 th…

  15. comment
    Comment #10673908

    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.getWaypo…

  16. comment
    Comment #10673874

    Nice idea. Will try to add that when I have time.

  17. story
    A simple scaffold for angularjs + requirejs + d3

    See demo at http://kristw.yellowpigz.com/demo/angularjs-requirejs-d3-seed/index.html View source on github at https://github.com/kristw/angularjs-requirejs-d3-seed