---
# System prepended metadata

title: Untitled

---

## Channel data
The data for this query is used for the top channels

![](https://i.imgur.com/5LigZ4h.png)


As well as the heatmap
![](https://i.imgur.com/twAB3du.png)

```
match 
    (u:User {id:$id})-[r:CREATED]->(s:Signal)-[:IN_THREAD]-(t:Thread)-[:HAS_THREAD]-(c:Channel)
with
    c.name as channel, 
    count(distinct(s)) as signals_shared
order by 
    signals_shared desc
with 
collect(distinct({
    channel: channel,
    count_signals: signals_shared
})) as channel_data
return
    {
        channel_data: channel_data
    
    }

```