Skip to content

Commit

Permalink
explain group as dimension
Browse files Browse the repository at this point in the history
for #929
artifacts and attribution
  • Loading branch information
gordonwoodhull committed Jul 30, 2015
1 parent 68dfc70 commit 7ec0f7d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ Alan Kavanagh <[email protected]>
Johnny Peck <[email protected]>
Kevin Kirsche <[email protected]>
Meyfarth
Ion Alberdi <[email protected]>
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 2.0 Series
## 2.0.0 beta 13
* Example of a table showing group-aggregated data, by Ion Alberdi ([#929](https://github.com/dc-js/dc.js/pull/929))
* Filtered items were not displayed after render in coordinate grid charts, by Matt Traynham ([#900](https://github.com/dc-js/dc.js/pull/900))
* grammar/spelling/formatting fixes to annotated stock example, by Johnny Peck and Enrico Spinielli ([#956](https://github.com/dc-js/dc.js/pull/956), [#875](https://github.com/dc-js/dc.js/pull/875))
* document bower install, by Mayfarth ([#899](https://github.com/dc-js/dc.js/pull/899))
Expand Down
1 change: 1 addition & 0 deletions web/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ <h2>Examples of using dc.js</h2>
<tr>
<tr>
<td><a href="stacked-bar.html">stacked bar</a></td>
<td><a href="table-on-aggregated-data.html">table on aggregated data</a></td>
<tr>
</table>
</div></body></html>
3 changes: 3 additions & 0 deletions web/examples/table-on-aggregated-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
- the .order() is defined & defined to something else than the default value which seems to
be either d3.ascending or descending. (a method that is undefined for .reduce()-d
dimension groups is called else).
This demonstrates that a crossfilter group can (oddly, but usefully) be passed
as the dimension for a dc.dataTable, because it's just using `dimension.all()`.
*/
var ndx = crossfilter(experiments),
exptDimension = ndx.dimension(function(d) {return +d.Expt;}),
Expand Down

0 comments on commit 7ec0f7d

Please sign in to comment.