Skip to content

Commit 7ec0f7d

Browse files
explain group as dimension
for #929 artifacts and attribution
1 parent 68dfc70 commit 7ec0f7d

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ Alan Kavanagh <akavanagh208@gmail.com>
5858
Johnny Peck <johnny@johnnypeck.com>
5959
Kevin Kirsche <Kev.Kirsche@gmail.com>
6060
Meyfarth
61+
Ion Alberdi <nolaridebi@gmail.com>

Changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# 2.0 Series
22
## 2.0.0 beta 13
3+
* Example of a table showing group-aggregated data, by Ion Alberdi ([#929](https://github.com/dc-js/dc.js/pull/929))
34
* Filtered items were not displayed after render in coordinate grid charts, by Matt Traynham ([#900](https://github.com/dc-js/dc.js/pull/900))
45
* 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))
56
* document bower install, by Mayfarth ([#899](https://github.com/dc-js/dc.js/pull/899))

web/examples/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ <h2>Examples of using dc.js</h2>
3737
<tr>
3838
<tr>
3939
<td><a href="stacked-bar.html">stacked bar</a></td>
40+
<td><a href="table-on-aggregated-data.html">table on aggregated data</a></td>
4041
<tr>
4142
</table>
4243
</div></body></html>

web/examples/table-on-aggregated-data.html

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
- the .order() is defined & defined to something else than the default value which seems to
3434
be either d3.ascending or descending. (a method that is undefined for .reduce()-d
3535
dimension groups is called else).
36+
37+
This demonstrates that a crossfilter group can (oddly, but usefully) be passed
38+
as the dimension for a dc.dataTable, because it's just using `dimension.all()`.
3639
*/
3740
var ndx = crossfilter(experiments),
3841
exptDimension = ndx.dimension(function(d) {return +d.Expt;}),

0 commit comments

Comments
 (0)