CryptoIcicleFlow-8.Trending NFT Projects - Common Wallets
    Updated 2022-06-12
    -- 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 wallets as (
    select
    count(distinct name) as n_collection,
    buyer from (
    select
    split(nft_collection,'.')[2] as name,
    buyer
    from flow.core.fact_nft_sales
    where block_timestamp >= '2022-05-09'
    and name in (
    'TopShot',
    'AllDay',
    'PackNFT'
    )
    group by name, buyer
    ) group by buyer
    )

    select
    n_collection,
    count(distinct buyer) as n_wallets
    from wallets
    group by n_collection
    Run a query to Download Data