Hi All,
I am working through the crossfilter example, trying to add a filter, and am having difficulties. The example posted by timelyportfolio is great, yet uses dc.js and I'm newer to d3 and it's proving hard for me to mesh with the flight example which is entirely D3 with the dc.js/d3 example. More specifically, to keep it as simple as possible, I am trying to add a donut chart much like in the example posted by timelyportfolio to the flight example to be able to filter by a nominal scale. For example, it could be N, S, E, W. After I can achieve this, I can move forward to my project, but am stuck.
My progress so far is I have tried to add four dimensions and groups to the code. One dimension looks similar to: 'west = flight.dimension(function(d) {return $.inArray("w", d.region); }) and a group looks like: wests = west.group().
Have now tried multiple ways to cleanly mesh a donut chart into the code and am having troubles getting it to run. Any help would be much appreciated. Thanks so much.