To add this feature we need
- a new calendar that supports "compare mode" - choosing 2 dates & periods to compare
- DataTable_Compare
Random notes
We add 2 additional vars in url:
- period_compare
- period_date
In period compare mode we display all graphs comparing data from 2 periods.
Note: When we switch to Pie chart or Bar graph we can display 2 graphs for different periods, but this should be added in visualization layer.
Examples
[to be added]
DataTable_Compare
DataTable_Compare must support:
- comparing any number of tables of anything (i.e. keywords, browsers, visits) by anything (in fact for now we can think of site and period)
o compare search engines keywords of 3 sites
o compare number of page visitors and hits in 2 different periods
UI:
- displaying 2 or more columns with % difference to the first column
New calendar UI
New features:
- compare periods mode: we can choose 1 date & period (normal mode) or 2 dates & periods (compare mode, #291) that we pass then in url vars: period, date, period_compare, period_date
o google analytics has a good UI that we can look up to
To do:
- one javascript "popup" for both choosing a period and choosing dates, so we can change both date and period without reloading the page
- design new interface, so it looks more clear, fresh, better
References