Ever found yourself wishing to create an engaging, data-driven presentation in Google Sheets, only to be held back by the lack of interactive visuals? One powerful tool to transform your data into compelling insights is the pie chart. But what if you could take it a step further by adding a dropdown list to filter your data? Let's dive into a step-by-step guide on how to make a pie chart in Google Sheets with a dropdown list.

Before we begin, ensure you have Google Sheets open and a dataset ready to visualize. For this guide, let's assume we have sales data for different regions, and we want to create a pie chart that allows us to filter by year.

Preparing Your Data
To create an interactive pie chart with a dropdown list, you'll first need to structure your data correctly. Let's say we have the following data:

| Year | Region | Sales |
|---|---|---|
| 2020 | North | $500,000 |
| 2020 | South | $700,000 |
| 2021 | North | $650,000 |
| 2021 | South | $850,000 |
Notice that we have a column for 'Year' to enable filtering.

Creating the Dropdown List
Now, let's create the dropdown list that will allow us to filter our data:
- Select a cell where you want the dropdown list to appear (e.g., A1).
- Click on 'Data' in the menu, then 'Create a dropdown'.
- In the 'Values' field, enter the unique years from your dataset (e.g., 2020, 2021).
- Click 'Done'.

You've now created a dropdown list that allows you to filter by year.
Creating the Pie Chart
With our data and dropdown list ready, let's create the pie chart:

- Select the range of cells containing your data (e.g., A1:C6).
- Click on 'Insert' in the menu, then 'Chart'.
- In the 'Chart editor' panel, under 'Chart type', select 'Pie'.
- Customize your chart as desired, ensuring 'Year' is set as the 'Category' and 'Sales' as the 'Aggregation'.
- Click 'Done'.
Your interactive pie chart is now complete! You can use the dropdown list to filter the chart by year.




















Adding Interactivity with Data Validation
To enhance the interactivity of your pie chart, you can use data validation to automatically update the chart when a new value is selected in the dropdown list:
Creating a Named Range
First, let's create a named range for our data:
- Select the range of cells containing your data (e.g., A1:C6).
- Click on 'Data' in the menu, then 'Named ranges'.
- Enter a name for your range (e.g., 'salesData'), and click 'Done'.
Adding Data Validation to the Chart
Now, let's add data validation to our chart:
- Click on your chart to select it.
- Click on 'Data' in the menu, then 'Data validation'.
- In the 'Criteria' field, enter the following formula: '=INDIRECT(ADDRESS(1,MATCH($A$1, salesData!A$1:A$6,0),4))'.
- Click 'Done'.
Your pie chart will now automatically update whenever you change the value in the dropdown list.
Congratulations! You've successfully created an interactive pie chart in Google Sheets with a dropdown list. This powerful tool will help you present your data in an engaging and dynamic way. Happy visualizing!