Query editor
WITH airdrop_totals AS (SELECT 'linea' as project_name, 9360000000.0 as total_airdrop_tokensUNION ALL SELECT 'avantis', 125000000.0UNION ALL SELECT 'lombard', 55000000.0UNION ALL SELECT 'somnia', 50000000.0UNION ALL SELECT 'succint', 50000000.0UNION ALL SELECT 'treehouse', 100000000.0UNION ALL SELECT 'openledger', 25000000.0UNION ALL SELECT 'caldera', 70000000.0UNION ALL SELECT 'sahara', 815000000.0),first_48h_metrics AS (SELECTproject_name,SUM(claim_volume) as total_claimed_48h,SUM(sold_volume) as total_sold_48h,SUM(claimers_count) as total_claimers_48hFROM dune.vistalabs.result_airdrops_airdrop_aggregation_tablegroup by 1)SELECTm.project_name as "Project",-- X-axis: Engagement (% claimed)ROUND(100.0 * m.total_claimed_48h / a.total_airdrop_tokens, 1) as "Engagement",-- Y-axis: Retention (% held of claimed)ROUND(100.0 * (m.total_claimed_48h - m.total_sold_48h) / NULLIF(m.total_claimed_48h, 0), 1) as "Retention",-- Bubble size: Total claimersm.total_claimers_48h as "Claimers"FROM first_48h_metrics mLEFT JOIN airdrop_totals a ON m.project_name = a.project_name