humanitiesplusdesign / palladio

An application that brings humanities research methods to data visualization.
BSD 3-Clause "New" or "Revised" License
170 stars 31 forks source link

show ([number selected out of] / [total number]) for each dimension #57

Closed cncoleman closed 8 years ago

cncoleman commented 8 years ago

show ([number selected out of] / [total number]) for each dimension.

We need to let people know at a glance how many of a thing they are seeing in a view. We can do this easily with FF instead of mucking up the interface with more information.

esjewett commented 8 years ago

So, we need changes to Crossfilter to track unfiltered values ([total number]) correctly. The way we used to do this in the facet filter (and the way we currently do this in the map view for the purposes of the legend calculation) is a bad hack and depends on a custom build of Crossfilter we maintain.

Now that https://github.com/crossfilter/crossfilter exists (a community fork), I would like to incorporate support for these types of calculations into core Crossfilter and the Reductio library. I'll propose adding the necessary capabilities to my collaborators on the Crossfilter fork and see what we can do.

cncoleman commented 8 years ago

Super. If that's not possible, we'll need to count the nodes in the view and display that somehow.

esjewett commented 8 years ago

This should be working now. After the groundwork of adding the necessary functionality to Crossfilter and Reductio, it was just a very small change in Palladio. Should make it much easier to do this in many places (the timeline, like in Mapping the Republic of Letters).