At times, government may seem like a black hole with little transparency on how your tax dollars are being spent. That’s why shedding light on how the state of Pennsylvania spends your money is a top priority of ours.

As we have been since 2014, PublicSource requested and is publishing data on the salaries that state government employees earned in 2017. All told, those figures account for several billion dollars of taxpayer money. Our data includes the agency an employee works for, when they were hired, their annual salary and the overtime they earned. It also includes any payouts an employee received for leaving their job.

We received the data from the state’s Executive Office. Unlike other governmental entities, that office does not release race and gender information for individual employees. Instead, the office provided aggregate breakdowns of race and gender of its employees by department. As of June 30, 2017, when the state’s last fiscal year ended, white men made up 52.9 percent of the workforce; white women accounted for 32.2 percent; and men and women of color were 14.5 percent.

This year, we’re breaking down the salaries data with an interactive surprise: It’s all in the form of a quiz for a fun way to learn how your tax dollars are spent. We conducted our data analysis with the help of a Jupyter Notebook, which you can find here. For the first time, we’re making our notes and data analysis public so, feel free to check our work! If you have any questions about the data, let us know.

*Note: Quiz answers will appear above the choices as you click. Also note that our team loves animals so have fun with the gifs below! This data story was fact-checked by Eric Holmberg.

Know more than you did before? Support this work with a MATCHED gift!

Through Dec. 31, the Wyncote Foundation, Loud Hound Foundation and our generous local match pool supporters will match your new monthly donation 12 times or double your one-time gift, all up to $1,000. Now that's good news!

Readers tell us they can't find the information they get from our reporting anywhere else, and we're proud to provide this important service for our community. We work hard to produce accurate, timely, impactful journalism without paywalls that keeps our region informed and moving forward.

However, only about .1% of the people who read our stories contribute to our work financially. Our newsroom depends on the generosity of readers like yourself to make our high-quality local journalism possible, and the costs of the resources it takes to produce it have been rising, so each member means a lot to us.

Your MATCHED donation to our nonprofit newsroom helps ensure everyone in Allegheny County can stay up-to-date about decisions and events that affect them. Please make your gift of support now.

J. Dale Shoemaker was a reporter for PublicSource between 2017 and 2019.

Natasha is PublicSource's creative director. She runs the organizations visuals team, edits and produces interactive graphics, data visualizations and web packages for PublicSource. She manages the website...