Crossfilter and dc.js mean value

46 просмотров
Перейти к первому непрочитанному сообщению

Michael G

не прочитано,
14 июл. 2015 г., 15:07:5214.07.2015
– dc-js-us...@googlegroups.com
Hi,

I have this data set:

tick ID
Name val1 val2 val3 val4 0 1 Name1 0.7 0.1 0.2 0.1 1 2 Name2 0.8 0.1 0.1 0.1 2 3 Name3 0.4 0.1 0.2 0.3 3 4 Name4 0.6 0.1 0.2 0.1 4 1 Name1 0.7 0.1 0.2 0.1 5 2 Name2 0.8 0.1 0.1 0.1 6 3 Name3 0.4 0.1 0.2 0.3 7 4 Name4 0.6 0.1 0.2 0.1

I already visualized everything with crossfilter and dc.js, except one diagram. I want the mean value of the column val1, val2, val3 and val4.












I have visualized this map with dc.js alread. The ID in the data is a segement in the image. The ticks are rounds, for instance the object with id 1 at tick 2 has the values 0.7, 0.1, 0.2 and 0.1. So the mean data should be connected to the segments. For instance when only the blue object with ID 1 is selected it should show the mean of the current selection. If I select a second object with ID 2, it should show the mean value of the both segments. How can I accomplish this, because this was the only visualization that didn't worked.
Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений