From the course: DC.js for Data Science Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Adding finishing touches with dc.dataCount and Reset All - JavaScript Tutorial
From the course: DC.js for Data Science Essential Training
Adding finishing touches with dc.dataCount and Reset All
- [Instructor] When we look at official examples of DC, there are a few features that you might not even have noticed, but pack quite a punch. Let's click on Gain. Can you see that we have a sentence here telling us how many records are included within our filters and how many records we have in total? And that updates to keep step with all of the filters that we apply. Now this is useful information in its own right, but also because often with DC we limit the number of rows that we show, so your users, here for example, can only see 10 rows and a grouping row. They have no other way of knowing apart from this sentence that the total number of records within the filters is 357. And there's one other useful thing here, and that's Reset All. So we've got several reset buttons available to us now, one, two, three, because we've applied filters to three charts. But we can reset all of them in one go by clicking the Reset All link. And so we're going to have a look now at creating those…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Linking two charts together11m 56s
-
(Locked)
Understanding graphical filtering20m 59s
-
(Locked)
Filtering with a range chart5m 44s
-
(Locked)
Filtering with brush4m 49s
-
(Locked)
Filtering with brush in two dimensions6m 14s
-
(Locked)
Adding finishing touches with dc.dataCount and Reset All11m 41s
-
(Locked)
Adding finishing touches with filterPrinter & numberDisplay11m 28s
-
(Locked)
Complementing DC with D313m 5s
-
(Locked)
-