# Implementing Radio Buttons in an Observable Framework for Data Filtering

**URL:** <https://talk.observablehq.com/t/implementing-radio-buttons-in-an-observable-framework-for-data-filtering/8913>\
**Category:** Help\
**Created:** [March 11, 2024, 8:15am UTC](https://talk.observablehq.com/t/implementing-radio-buttons-in-an-observable-framework-for-data-filtering/8913 "2024-03-11T08:15:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![imakashram](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/imakashram/32/8918_2.png) [@imakashram](https://talk.observablehq.com/u/imakashram)\
**Post date:** [March 11, 2024, 8:15am UTC](https://talk.observablehq.com/t/implementing-radio-buttons-in-an-observable-framework-for-data-filtering/8913/1 "2024-03-11T08:15:40Z")

</div>

How to implement radio buttons in an observable framework, and when the value changes, how to retrieve the value in the console to further use it for filtering data based on the returned value from the radio button?

---

<div class="post-metadata">

**Author:** ![Fil](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/fil/32/207_2.png) [@Fil](https://talk.observablehq.com/u/Fil)\
**Post date:** [March 11, 2024, 10:45am UTC](https://talk.observablehq.com/t/implementing-radio-buttons-in-an-observable-framework-for-data-filtering/8913/2 "2024-03-11T10:45:11Z")

</div>

You could use Inputs.radio, as documented here:  
[https://observablehq.com/framework/inputs/radio](https://observablehq.com/framework/inputs/radio)
