Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[13:02:40 CDT(-0500)] <athena> gotcha

[13:32:03 CDT(-0500)] <athena> ok, so this d3.js library

[13:32:06 CDT(-0500)] <athena> super cool

[13:32:08 CDT(-0500)] <athena> BSD license

[13:32:17 CDT(-0500)] <EricDalquist> that is the one you linked last night?

[13:32:19 CDT(-0500)] <athena> seems to work, inclined to like it

[13:32:19 CDT(-0500)] <athena> yeah

[13:32:27 CDT(-0500)] <EricDalquist> awesome

[13:32:32 CDT(-0500)] <athena> so the disadvantage is that it's sort of more complex to use

[13:32:43 CDT(-0500)] <EricDalquist> well, data visualization is complex :/

[13:32:46 CDT(-0500)] <athena> like here's the code for creating a simple line chart: view-source:http://janwillemtulp.com/d3linechart/

[13:32:47 CDT(-0500)] <athena> right.

[13:32:59 CDT(-0500)] <EricDalquist> yet no one gets that cause good data-viz seems so intuitive (tongue)

[13:33:08 CDT(-0500)] <athena> but of course we could wrap logic like this up into some uportal functions that create a default line chart or whatever

[13:33:22 CDT(-0500)] <athena> so the fact that it's not all packaged up doesn't have to be a problem, i think

[13:33:32 CDT(-0500)] <EricDalquist> yeah I agree

[13:33:38 CDT(-0500)] <athena> basically what we'd lose via google viz is that there's no automatic stuff built in

[13:33:50 CDT(-0500)] <athena> we'd need to define line colors, axis handling, etc. ourselves

[13:33:52 CDT(-0500)] <EricDalquist> does it support any sort of overlay/tooltip features?

[13:33:54 CDT(-0500)] <EricDalquist> yeah

[13:34:18 CDT(-0500)] <athena> so we might need to write some code to do stuff like insert a sane number of axis tic marks, etc.

[13:34:24 CDT(-0500)] <athena> i don't know - i'll look into tooltip stuff

[13:34:28 CDT(-0500)] <athena> seems plausible though

[13:34:38 CDT(-0500)] <athena> and of course it makes it easier to have multiple data views for the same data

[13:34:41 CDT(-0500)] <athena> switch between them, etc.

[13:34:44 CDT(-0500)] <athena> some really cool animations

[13:34:58 CDT(-0500)] <athena> so i guess my current thought is that this seems like a good library on the whole, is open source friendly, etc.

[13:35:10 CDT(-0500)] <athena> and maybe it's worth putting in the extra effort to wrap the funcitonality?

[13:35:13 CDT(-0500)] <athena> what do you think?

[13:35:32 CDT(-0500)] <EricDalquist> I'm for it

[13:35:39 CDT(-0500)] <EricDalquist> if you're interested in doing that initial work on it

[13:36:00 CDT(-0500)] <EricDalquist> maybe try creating a clone of that login reports portlet

[13:36:04 CDT(-0500)] <EricDalquist> and doing it with d3

[13:36:06 CDT(-0500)] <EricDalquist> just to compare them

[13:36:08 CDT(-0500)] <athena> yeah

[13:36:13 CDT(-0500)] <athena> that's exactly my thought

[13:36:21 CDT(-0500)] <EricDalquist> we have that branch to work on so that would be a good place to play with it

[13:36:22 CDT(-0500)] <athena> can check it into an alt branch and you can take a look

[13:36:24 CDT(-0500)] <athena> yeah (smile)

[15:54:09 CDT(-0500)] <athena> looks like it is possible to add tooltips with custom code: http://bl.ocks.org/2070123

[15:59:40 CDT(-0500)] <athena> EricDalquist: i just pushed a new UP-2603-d3 branch

[15:59:47 CDT(-0500)] <athena> there's a rough sketch of a d3 implementation

[15:59:51 CDT(-0500)] <athena> no tooltips and the axes are rough

[15:59:57 CDT(-0500)] <athena> but works, seems to render quickly

[16:00:19 CDT(-0500)] <athena> if we want to go that route the code would need a bunch of cleanup,e tc.

[16:00:24 CDT(-0500)] <EricDalquist> cool