Want to keep up to date on Welsh politics? Sign up and get political news sent straight to your inbox Thank you for subscribing We have more newsletters Show me See our privacy notice Invalid Email

Immigration and the NHS were the most Googled issues in Wales in the run-up to the EU referendum .

On Thursday 51.9% of votes were cast to leave the EU , against 48.1% for remaining a member country.

Google has released data which shows residents in 10 Welsh local authorities searched for issues around the NHS between May 31 and June 7.

The data shows that the issue of the NHS was most searched for on Google in Cardiff and the surrounding areas including Vale of Glamorgan, Neath Port Talbot, Rhondda Cynon Taf, Caerphilly, Torfaen.

It was also the top issue in Pembrokeshire, Anglesey, Denbighshire and Flintshire.

Seven areas, mostly in Mid Wales, searched for issues around immigration.

The local authorities where immigration was most searched for are Conwy, Ceredigion, Carmarthenshire, Powys, Merthyr Tydfil, Newport, Monmouthshire.

In Swansea and Gwynedd, the top searched referendum issue on Google was was expats.

Bridgend was the only local authority in Wales where the top searched referendum issue was trade.

The top issue in Blaenau Gwent was the economy, the only area in Wales where this was the top searched issue.

And in Wrexham, finance was the most searched-for issue, according to Google.

Education, house prices and tourism were top search terms at various places in the UK, but they did not feature as top search terms in Wales.

Use the interactive map to see the top issues by UK local authority:

Only five council areas in Wales voted to Remain in the historic referendum on June 23: Cardiff, Ceredigion, Monmouthshire, the Vale of Glamorgan and Gwynedd.

Ukip leader Nigel Farage backed down on a referendum pledge to spend £350 million of cash that would have gone to the European Union on the NHS the day after the referendum .

Video Loading Video Unavailable Click to play Tap to play The video will start in 8 Cancel Play now

Shortly after the UK voted to leave the EU, he told ITV's Good Morning Britain that it was a "mistake" and that he had never made any such pledge.

Figures show that Remain areas in Wales have nearly three times the level of immigration of leave areas .

Figures from the Office for National Statistics show the rate of net international migration in all areas of the country last year.

In the places where the Remain vote triumphed, net migration reached 200,491 in the year to June 2015 at a rate of 8.1 per 1,000 residents.

This is more than double the rate of 3.4 immigrants per 1,000 residents that was experienced in the local authority areas who voted for Brexit.

It was a similar story in Wales where the five local authorities who cast a vote to remain had net migration of 3.7 immigrants per 1,000 residents.

The remaining 17 areas who voted to leave the EU only received 1.3 immigrants per 1,000 residents.

Only six of the 30 areas with the highest levels of immigration across the UK voted to leave the EU.