Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get the sum of variables within a category instead of the count of rows? #220

Open
v4lue4dded opened this issue Apr 23, 2024 · 0 comments

Comments

@v4lue4dded
Copy link

This project looks amazing as a backend for interactive visualizations, but I can't seem to fingure out how to get a sum of a variable in a loaded table.

Say for example the sum over the Distance and the Delay variables in the Airline on-time performance dataset to get the total distance flown or total delay experienced for each date.
https://dig.cmu.edu/falcon-vis/crossfilter-duckdb/

In crossfilter this was done using the reduce function and passing it reduceAdd, reduceRemove, and reduceInital sub functions.

How is it implemented here? Can you maybe add an example to the readme?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant