CryptoIcicleFlow-8.Trending NFT Projects
    Updated 2022-06-11
    -- Payout 19.92 FLOW
    -- Grand Prize 59.76 FLOW
    -- Level Beginner
    -- Q8. Create a visualization showing NFT sales volume on Flow since May 9th.
    -- Which NFT projects are trending on Flow right now and what is the general trend of NFT sales over the last month?
    -- Do the projects that are trending seem to have common wallets or is there not much crossover between buyers/sellers?

    with nft_sales as (
    select
    split(nft_collection,'.')[2] as name,
    *
    from flow.core.fact_nft_sales
    where block_timestamp >= '2022-05-09'
    )

    select
    block_timestamp::date as date,
    name,
    count(distinct tx_id) as n_txns,
    sum(price) as sale_volume,
    count(distinct buyer) as n_wallets_daily
    from nft_sales
    group by date,name
    Run a query to Download Data