Electric vehicle charging stations in Boston surge

As the Globe reported last week, the number of traditional gas stations in the region has declined sharply, as soaring real estate prices entice many owners to sell their property.

But as more drivers embrace “green’’ transportation, there has been a dramatic rise in the number of stations selling alternative fuels, primarily electric charging stations.

Today, there are more than 27,800 alternative fuel stations nationwide, about four times as many as there were in 2010, data from the US Department of Energy show.

In Massachusetts, there are nearly 600 alternative fuel stations, most of which offer electric charging. By comparison, there were just three electric charging stations statewide in October 2010, according to a Globe report.

And, the number of such stations in Massachusetts ranks as the 20th most nationally, though on a per capita basis the state ranks 27th.