Here is the custom query to get last seven days data in laravel
->whereRaw('Date(timestamp_order_made) >= (CURDATE() - INTERVAL 7 DAY)')
->whereRaw('Date(timestamp_order_made) >= (CURDATE() - INTERVAL 7 DAY)')
Here is Google Map Filter Api Example: