# Can a Dash dashboard be dynamically 'generated' with linked brushing/cross-filtering?

**URL:** <https://community.plotly.com/t/can-a-dash-dashboard-be-dynamically-generated-with-linked-brushing-cross-filtering/50769>\
**Category:** Dash Python\
**Created:** [March 8, 2021, 4:56am UTC](https://community.plotly.com/t/can-a-dash-dashboard-be-dynamically-generated-with-linked-brushing-cross-filtering/50769 "2021-03-08T04:56:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MegamanEXE](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/megamanexe/32/12434_2.png) [@MegamanEXE](https://community.plotly.com/u/MegamanEXE)\
**Post date:** [March 8, 2021, 4:56am UTC](https://community.plotly.com/t/can-a-dash-dashboard-be-dynamically-generated-with-linked-brushing-cross-filtering/50769/1 "2021-03-08T04:56:26Z")

</div>

Hi!  
I’ve only quickly went through the tutorials for Dash so I need some confirmation before I’m ready to commit on Dash to fulfill a goal. So basically I worked on a tool which drew specific common graphs using Plotly Python. So now I have to work on a dashboard feature where I can display all those graphs together with cross-filtering/linked brushing i.e. basically selecting a point in one graph would also highlight the same data point in other visualizations if possible. Also, there’s only one dataframe so that makes it simpler too.

Now my question is simply this; **is it possible to achieve this with Dash Python**?

In the tutorials, Dash seemed more for like static Dashboards where you already know how you want to layout your dashboard. Is there some trick I could use to achieve this? Because I only have to support like 15 visualization types so some kind of ‘hacks’ would be welcome too. I do not have to do anything detailed like saving/loading old graphs. It would be more like I have this list:  
"line\_chart: col1, col2  
bar\_chart: col2, col3  
scatterplot: col1, col2, col3  
"

and I would make new charts in Dash from scratch WITH linked brushing/cross-filtering or whatever it’s called, but basically just ;select in one, reflect in others’. If so, any helpful links would be appreciated as well, or a just a general direction on how I can achieve this.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![MegamanEXE](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/megamanexe/32/12434_2.png) [@MegamanEXE](https://community.plotly.com/u/MegamanEXE)\
**Post date:** [March 15, 2021, 2:53pm UTC](https://community.plotly.com/t/can-a-dash-dashboard-be-dynamically-generated-with-linked-brushing-cross-filtering/50769/2 "2021-03-15T14:53:30Z")

</div>

Bump! (Hoping this is allowed). Still looking for an answer to this ☹

---

<div class="post-metadata">

**Author:** ![Emil](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/emil/32/31734_2.png) [@Emil](https://community.plotly.com/u/Emil)\
**Post date:** [March 15, 2021, 4:31pm UTC](https://community.plotly.com/t/can-a-dash-dashboard-be-dynamically-generated-with-linked-brushing-cross-filtering/50769/3 "2021-03-15T16:31:57Z")

</div>

I think it should be possible. But it might require some hacking to avoid circular references.

---

<div class="post-metadata">

**Author:** ![MegamanEXE](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/megamanexe/32/12434_2.png) [@MegamanEXE](https://community.plotly.com/u/MegamanEXE)\
**Post date:** [August 21, 2021, 2:41am UTC](https://community.plotly.com/t/can-a-dash-dashboard-be-dynamically-generated-with-linked-brushing-cross-filtering/50769/4 "2021-08-21T02:41:17Z")

</div>

While this topic is old, think I should just put this out here for any future Googlers. Yes, this is possible thanks to pattern-matching callbacks. I think I did an alright implementation of it.
