Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-04-09 Thread CD Athuraliya
Hi all, We are currently using some other chart types based on D3.js in product ML; parallel sets [1] and trellis chart (scatterplot matrix brushing) [2]. We are also using our own D3.js based implementations for scatter plots, histograms and ROC curves. Since these are different implementations b

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-30 Thread Tharindu Munasinghe
Hi Seshika, Please find the sample with transformed 2D table . By setting {"heatMap":true } in chartConfig , you can color cells according to the entire dataset . The previous behavior is also possible if you do not define that attribute . http://dunithd.github.io/igviz/samples/transformedTa

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-29 Thread Tharindu Munasinghe
Hi Seshika, What I did was , transformed the data set according to your requirement and used the existing functions. The existing functions apply colors to individual columns/rows. Have to add a function to apply colors for entire data-set. Thanks, On Sun, Mar 29, 2015 at 3:31 PM, Seshika Fernan

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-29 Thread Seshika Fernando
Hi Tharindu, The 2D table works with aggregation. Thanks. The cell colouring should look like the below example, where the color gradient applies to the entire data-set as opposed to individual columns. *Candidate\City_ID* *1* *2* *3* *5* *A* 11 0 5 3 *B* 3 5 8 9 *C* 1 9 5 6 *D* 0 0 0 6 sesh

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-28 Thread Tharindu Munasinghe
Hi Seshika, The sample attached here will transform the dataset and draw the table as you said. let me know the changes to be made . http://dunithd.github.io/igviz/samples/transformedTable/index.html Thanks, On Thu, Mar 26, 2015 at 7:34 PM, Seshika Fernando wrote: > Hi Tharindu, > > Can

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Seshika Fernando
Hi Tharindu, Can I use aggregate functions with Tables as well? seshi On Thu, Mar 26, 2015 at 5:44 PM, Seshika Fernando wrote: > Oh this is good news indeed. Will use it. > > On Thu, Mar 26, 2015 at 5:31 PM, Tharindu Munasinghe > wrote: > >> Time domain is already there in igviz.js [1], You

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Seshika Fernando
Oh this is good news indeed. Will use it. On Thu, Mar 26, 2015 at 5:31 PM, Tharindu Munasinghe wrote: > Time domain is already there in igviz.js [1], You have to specify 'T' as > the type of the relevant field and pass the date/time as String value. > > Since time is continuous variable you can'

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Tharindu Munasinghe
Time domain is already there in igviz.js [1], You have to specify 'T' as the type of the relevant field and pass the date/time as String value. Since time is continuous variable you can't s use it on Bar charts( which need a discrete domain for X-axis ). For other types of charts like area ,line a

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Seshika Fernando
Yes +1 to the time domain. Right now I'm converting the time into a date and then manually doing manipulations. This will be very useful. On Thu, Mar 26, 2015 at 3:38 PM, Dunith Dhanushka wrote: > Hi Tharindu, > > We might need to consider using time domain as well. Since most of the > usecases

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Dunith Dhanushka
Hi Tharindu, We might need to consider using time domain as well. Since most of the usecases involve visualizing timeseries data. So it'd be nice to have a time domain in addtion to linear and ordinal domains. Regards, Dunith On Thu, Mar 26, 2015 at 3:08 PM, Tharindu Munasinghe wrote: > Hi Ses

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Tharindu Munasinghe
Hi Seshika, count() is fixed and now min,max,sum,avg and 'count'. are the possibilities for aggregation . Please use the direct link [1] instead of downloaded igviz.js as it will reflect the latest updates . [1] : http://dunithd.github.io/igviz/igviz.js Thanks, On Thu, Mar 26, 2015 at 2:18 PM

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Tharindu Munasinghe
igviz.js uses the aggregated functions that are supported by vega.js . min,max,sum,avg are the functions that I have tested and they are working . I tested count() but didn't get the result I expected . I 'll fix it . On Thu, Mar 26, 2015 at 1:38 PM, Seshika Fernando wrote: > What are the aggr

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Seshika Fernando
What are the aggregate functions that I can use? I see 'sum' is available. Does this support Count too? Please let me know what are the functions that are currently supported. Thanks On Thu, Mar 26, 2015 at 1:36 PM, Seshika Fernando wrote: > Noted and Thanks. Will try this out. > > On Thu, Mar

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Seshika Fernando
Noted and Thanks. Will try this out. On Thu, Mar 26, 2015 at 1:34 PM, Tharindu Munasinghe wrote: > Hi Seshika, > I have updated the igviz.js so that now aggregated functions can > be used with bar charts. if you don't use aggregate functions , bar chart > will only show the last Y value

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-26 Thread Tharindu Munasinghe
Hi Seshika, I have updated the igviz.js so that now aggregated functions can be used with bar charts. if you don't use aggregate functions , bar chart will only show the last Y value for repeated X. A sample for aggregated bar can be found at [1] Please note that , as for the moment addin

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-23 Thread Tharindu Munasinghe
Hi All, Today I had a progress update of igviz.js with Srinath .He pointed out several improvements for the project. - Add graph sketching support to igviz.js - Come up with a tabular representation for a graph - Improve the styles in samples site - Add single number diagram ( min/ma

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-02 Thread Tharindu Munasinghe
+1 , I will do a bar chart sample using 'Vega' with the features we have discussed and then we will see how we can extend that implementation to the other types of charts :) On Mon, Mar 2, 2015 at 6:05 PM, Dunith Dhanushka wrote: > > Hi all, > > Today we had a discussion on using Vega [1] librar

Re: [Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-02 Thread Dunith Dhanushka
Hi all, Today we had a discussion on using Vega [1] library underneath igviz. Vega comes with a highlevel visualization grammer that runs on top of D3. In addition to that it's got some polished UI so that it'll save more efforts for fine tuning the charts. Please refer mail thread [RFC: Building

[Architecture] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-01 Thread Tharindu Munasinghe
Hi all, Pubudu,Fawsan and Fasna has started this project as their training project and they did the implementations of table, single value , map , line charts . Me and Dunith have been continuing this project to make it a generic library so that any product can use it. So far igviz.js