# Year Slider

The Year Slider functions as a selection tool. To change from one year to the other, simply click on or drag the select button to the year of your choice and the selected year will be highlighted in teal.&#x20;

To see data changes across year, simply click on the play button on the far left of the year slider. The selected year will move from the first to the last year of available data and the visualization will change accordingly.&#x20;

![Annotations for year slider](/files/-LnKpc0wa-zjHYpgyha-)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mchi.gitbook.io/pophr/web-client/components/year-slider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
