I built those examples mostly to learn about using many of the
advanced features in d3.js, but I haven't yet integrated enter() and
exit() into the transitions to add/remove missing elements.
I planned to return to it in a few weeks or months and use the newly
specified Chart API:
http://bost.ocks.org/mike/chart/
If you're interested in fixing these issues before then, I'd be glad
to answer any questions you have and integrate solutions into the
examples. Once the chart is a bit more robust, I'd like to add it to
the d3 plugins repository.
That does simplify the problem to just zero values.
The correct behavior would:
Remove chords with two zero values
When a chord has one zero, render that anchor as a thin line
Index chords by i,j indices
Remove arcs with all zero values
Does that seem correct? I'll take a closer look at this tomorrow.
I've been trying to fix my examples so they can do this, but it's
tricky and I'm not sure where is the best place to fix things.