Query editor
selectformat('$%,12.1f', round(pow(1.1, bucket_log_amount), 1)) as bucket, round(pow(1.1, floor_log_amount), 1) as amount_from, round(pow(1.1, ceil_log_amount), 1) as amount_to, count(*) as swapsfrom (selectfloor(log_amount) as floor_log_amount, ceil(log_amount) as ceil_log_amount, (floor(log_amount) + ceil(log_amount)) / 2 as bucket_log_amountfrom (selectlog(1.1, 1 + round(amount_usd, 2)) as log_amountfrom dex_aggregator.tradeswhere blockchain = 'ethereum' and project = '1inch'))group by 1, 2, 3order by 1