A diamond is forever, but an expensive engagement ring means the marriage might not last that long. According to a new study, spending between $2,000 and $4,000 on an engagement ring is significantly associated with an increase in the risk of divorce.

The data scientist Randal Olson recently visualized some of the findings from a paper by Andrew Francis and Hugo Mialon, two researchers at Emory University who studied 3,000 married couples in the U.S. to determine the factors that predicted divorce. They analyzed income, religious attendance, how important attractiveness was to each partner, wedding attendance, and other metrics to determine the aspects associated with eventual marital dissolution.

Their findings offer some take-aways for couples who want to minimize their chances of divorce: You should date for three years before popping the question. Be wealthy, but don't be a gold-digger. Have a huge wedding, but make sure it's cheap. And whatever you do, don't skip the honeymoon.

Here are the highlights, displayed with Olson's visualizations and used here with his permission:

Time Spent Dating Before Proposal

Randal Olson/Andrew Francis/Hugo Mialon

Couples who dated for at least three years before their engagement were 39 percent less likely to get divorced than couples who dated less than a year before getting engaged.