# Filter graphic by click one datapoint

**URL:** <https://community.plotly.com/t/filter-graphic-by-click-one-datapoint/29792>\
**Category:** plotly.js\
**Created:** [October 9, 2019, 3:05pm UTC](https://community.plotly.com/t/filter-graphic-by-click-one-datapoint/29792 "2019-10-09T15:05:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![userstg](https://avatars.discourse-cdn.com/v4/letter/u/c37758/32.png) [@userstg](https://community.plotly.com/u/userstg)\
**Post date:** [October 9, 2019, 3:05pm UTC](https://community.plotly.com/t/filter-graphic-by-click-one-datapoint/29792/1 "2019-10-09T15:05:01Z")

</div>

Hello,

I plot a graphic and if I click on one Point, I only wants that one Point appear and other Points are hidden:

my grahics Looks so:

> **[Hue Value vs Year | scattergl made by Chris | plotly](https://plot.ly/~chris/17389.embed)**
>
> Chris's interactive graph and data of "Hue Value vs Year" is a scattergl, showing trace\_0, trace 1, trace 2, trace3\_Hue Value, trace4\_Hue Value; with Year in the x-axis and Hue Value in the y-axis..

either way i want to type the id in a TextBox and only want that this Point is showing on the graphic.

Hope you can help me,  
ash
