Just create a new column, in my example I call it Year Bin. Use the formula:
If(
:Year < 2010, "2005-2009",
:Year < 2015, "2010-2014",
:Year < 2020, "2015-2019",
:Year < 2025, "2020-2025"
)
Which yields the following graph with the year bins as defined in the formula
Jim