# How to achieve interactive analysis based on mouse-selected data in Genie with plotlyjs

**URL:** https://discourse.julialang.org/t/how-to-achieve-interactive-analysis-based-on-mouse-selected-data-in-genie-with-plotlyjs/98789
**Category:** General Usage
**Tags:** genie, plotlyjs
**Created:** [May 13, 2023, 10:31am UTC](https://discourse.julialang.org/t/how-to-achieve-interactive-analysis-based-on-mouse-selected-data-in-genie-with-plotlyjs/98789 "2023-05-13T10:31:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tiZ](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tiz/32/211800_2.png) [@tiZ](https://discourse.julialang.org/u/tiZ)
#### Post date: [May 13, 2023, 10:31am UTC](https://discourse.julialang.org/t/how-to-achieve-interactive-analysis-based-on-mouse-selected-data-in-genie-with-plotlyjs/98789/1 "2023-05-13T10:31:07Z")

</div>

Hi,

I have a Genie demo app that contains two figures: a scatter plot and a box plot. My goal is to enable the box plot to update according to the data points I select in the scatter plot when I circle them with the mouse.

The idea just as shown here:

 ![screenshot](https://global.discourse-cdn.com/julialang/original/3X/8/0/806496bb624b7f7e66df161d277f96b079c3fba4.png)

any suggestion or idea for how to achieve it? Thanks for your attention.
