Bitcoin Core data to csv
I was trying to do the same thing, however, there's no explicit source of blockchain data on the internet. You'll have to download the entire blockchain transaction history by downloading Bitcoin Core to have the data at the first place. Then you'll need some parser to convert the data in raw format to more readable formats like csv or JSON.