A recent study ranks Washington, D.C., as the third "greenest" city in the country.

Washington, D.C., has been a commuter-friendly city with plenty of park options for many years, but recently the city has been progressing even more towards environmentally-friendly and sustainable practices. In May of this year, D.C. started to run electric buses, and a bill was introduced this summer to ban plastic straws.

Now D.C. has been given the title of one of the "greenest" cities in the country by WalletHub. As WalletHub points out, preserving our environment is an increasingly important issue for many Americans, and cities are beginning to catch on.

Courtesy of Brianna Grant

"Nearly three in four Americans believe that 'the country should do whatever it takes to protect the environment'...Apart from employing Americans, clean energy and other 'green' practices, such as recycling programs and urban agriculture, benefit the environment and public health, all of which contribute to America‚Äôs bottom line, according to many experts. Recognizing those advantages, cities across the U.S. have increased their sustainability efforts and benefited economically," the study explains.

To determine exactly which cities are the greenest, WalletHub compared the 100 most populated cities across four key factors: environment, transportation, energy sources, and lifestyle/policy. These factors were looked into in more depth through 26 metrics such as median air quality index, green space, daily water consumption, miles of bicycle lanes, and green job opportunities.

San Diego came in first place, closely followed by San Francisco. Washington, D.C., came in third place ranking No. 35 in "Environment," No. 6 in "Transportation," No. 17 in "Energy Sources," and No. 1 in "Lifestyle & Policy." Coming in at the bottom were St. Louis (MO), Corpus Christi (TX), and Baton Rouge (LA) in dead last.

Washington, D.C., also came in third for lowest percentage of commuters who drive, while the local city of Virginia Beach came in No. 1 for lowest greenhouse-gas emissions per capita.

Hopefully, D.C. can keep up the green initiatives!

What do you think? How do you stay "green"? Let us know in the comments below!

Looking for a FREE place to enjoy nature in D.C.? Check out Kenilworth Park and Aquatic Gardens.