dc-js / dc.js

Multi-Dimensional charting built to work natively with crossfilter rendered with d3.js
Apache License 2.0
7.42k stars 1.81k forks source link

Ideas about relating different types of data with Time #186

Closed nickewansmith closed 10 years ago

nickewansmith commented 11 years ago

So lets say I want to display three different types of data. The data is all related but not directly...only by time...which relates to everything.

Say there was a graph specific to time only, with a min and max time. That one graph could link to multiple crossfilter variables i.e.

ndx = crossfilter(data) ndx2 = crossfilter(data2) ndx3 = crossfilter(data3)

While all those different crossfilters might link to the graphs created within their scope they would not link to each other directly, but only through the time dimension of the "time graph". time would be the "time graph's" only purpose..or in other words, there would only be an x axis.

This would allow someone to have different datasets about many different things that are not necessarily related and still come up with a visual representation.

One could see sales, and clicks, and cats, and dogs, inventions, presidents and more over Time, and have all graphs update simultaneously.

NickQiZhu commented 11 years ago

Hmm... interesting idea. I am not sure if this should be part of dc.js or should be left to individual developer since how these crossfilter data sets can be linked together (via time or some other criteria) will always be on project-by-project basis. I think for now you can quite easily use a jquery slider for example or d3 to filter all 3 data sets on time dimension then use different chart group in dc.js to visualize different data set.