This is the best place to be a burger lover

Looking for the country's burger epicenter? It's best to head west.

"If you're a burger lover, the place to be is out West," wrote Ralph McLaughlin, a housing economist at Trulia, in an email.

Banner year for burgers

Real estate website Trulia mined Yelp data to identify the number of burger joints in each metro area and then combined this with government data about each metro's number of households to calculate its Burger Density Index.

"The top 10 places with the highest concentration of burger joints are all west of the Mississippi, and 6 of these 10 are in the southern half of California," he wrote.

Read MoreMcDonald's gets more secretive in turnaround

The Anaheim-Santa Ana-Irvine, California, area, where In-N-Out's headquarters are located, ranked as the best place to be a burger eater, followed by Las Vegas-Henderson-Paradise, Nevada and Urban Honolulu, Hawaii. Bakersfield, California, and Riverside-San Bernardino-Ontario, California rounded out the top five.

While the West Coast is the best coast for burgers, some places along the East Coast are on the opposite side of the spectrum.

Each of the spots with the lowest concentration of burger restaurants are located in the Northeast.

Read MoreMcDonald's ditchesmore sales for accuracy

College town Syracuse, NY was the worst spot for burger lovers, followed by Philadelphia; Camden, New Jersey; Cambridge-Newton-Framingham, MA and the Newark metro area.

"While it's difficult to say why these places are clustered in the Northeast, burgers might have more competition from other types of comfort foods such as cheesesteaks in Philadelphia, pizza and hot dogs in New York, buffalo wings in Buffalo, and chowder in Boston," McLaughlin wrote.