Is there any available Strava statistics regarding rider's distance compared to others' per year? I'm writing an application and would like to know how my logged 22.000 km during 2017 stand compared to all Swedish Strava users.

https://2017.strava.com/en-us/videos/64f479a9bec7cd1793afe4322823092b99d462bf/
http://www.marcellobrivio.com/projects/strava-toolbox/?logout=1

This online app will let you connect to your Strava account and compare pretty much anything you want. It allows you to see some fairly interesting comparisons. You’ll want to connect your account and then scroll to “Strava Distance Ranking”. I’m not sure if there’s an option to narrow your search from “Worldwide” to “Sweden”, but hopefully this will help.