I've scoured the net after getting stuck trying to bend this (
http://www.codeproject.com/Articles/709735/Making-Dashboards-with-Dc-js-Part-4-Style)
to my own will on a sizable chunk of data (~1M records) that I've parked in mongo and having seen something interesting mucking around in pandas, was trying to replicate and make more enduringly useful using dc.js.
I've attached some screen shots and my code and it's taken me quite some time to get even here.
While my questions are many, I'm hoping that getting past these few might help make everything else fall into place...
I'm guessing these two might be related, but:
1. Why are the nulls (first column, missing name) not collapsing into year stacks?
2. Why are the data stacks disembodied from the abscissa?
While the stack shot I attached are counts, I've found this:
var sum_2005 = icDim.group().reduceSum(function(d) {if (d.FY=="2005") return d.TOTAL_COST; else return 0; });
which leads to the stacks being shove to the ceiling, if not disappearing altogether (stack_sum).
Ideally, what I was going for was trying to not only do massive sums/counts of aggregated data, but in addition,
be able to do grouped counts/sums based on missing data-- what groups over time have the same missing fields,
aggregated by an indirect sum (total cost).
I'm very keen to understand what's going on here b/c I think it might resolve a few of my more fundamental don't-quite-get-it-yets
Is it possible to stack up a row chart as the stack charts attached are just a selection of a much longer list (row.tiff)?
I've a slew of other questions (like why are some pie labels missing?), but am guessing if I can get my head around these other issues the rest
will fall into place...
Many thanks in advance,
tripp