Charity graph
This graph shows the connections between charities based on the money they receive from each other.
How it works
- We filter charities by user-specified EINs + any keywords. EINs are always included, everything else must match at least one keyword unless no keywords are set (then all are included).
- We pick the BFS root from the largest-
receipt_amt
EIN (if any exist), otherwise the largest from the filtered set. If that BFS yields fewer than 5 nodes, we pick the next-largest unvisited charity in the filtered set, BFS again, and so on, until the subgraph has 5 or more nodes or we run out. - We always include all user-specified EINs plus direct edges among them. Node labels highlight Taxpayer Funds Received from
govt_amt
, and we sum that for the final subgraph.