I have two data, one with time dependent and one not.
The data which is time dependent would be like below.
year, name , value
2001, "AAAAAAA", 200
2002, "AAAAAAA", 300
2003, "AAAAAAA", 400
2001, "BBBBBBB", 150
2002, "BBBBBBB", 250
2000, "CCCCCCC", 500
2001, "CCCCCCC", 600
2002, "CCCCCCC", 550
2001, "DDDDDDD", 100
2002, "DDDDDDD", 300
On the other hand, I have data independent to time which describes property of names.
name , type
"AAAAAAAA", "red"
"BBBBBBBB", "blue"
"CCCCCCCC", "green"
"DDDDDDDD", "red"
One way to handle data would be to hold data as following.
year, name , value, type
2001, "AAAAAAA", 200 , "red"
2002, "AAAAAAA", 300 , "red"
2003, "AAAAAAA", 400 , "red"
2001, "BBBBBBB", 150 , "blue"
2002, "BBBBBBB", 250 , "blue"
2000, "CCCCCCC", 500 , "green"
2001, "CCCCCCC", 600 , "green"
2002, "CCCCCCC", 550 , "green"
2001, "DDDDDDD", 100 , "red"
2002, "DDDDDDD", 300 , "red"
If you want to handle data on crossfilter, is the above data format the best way to handle it? Or could you handle it separately which is more data efficient?
Related to the data format, how could I make chart with type in the X-axis and average of the names value's average in the Y-axis.
Just using type as a dimension and calculating average would end up in averaging all result at once. I assume it would be normal to calculate average first with names then average again afterward.
base64format for each data (such as logos for company), and I want to make them popup by hovering on data point, should I make it a large data withbase64overall or would there be any workaround? - adamist521