This example uses a combination of leaflet and D3 to display the number of empty properties in each postcode of Cardiff
Data was accurate in 2014, but is now hopelessly out of date.
xxxxxxxxxx
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Postcodes</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.css" />
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="map"></div>
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/d3/4.7.3/d3.min.js"></script>
<script src="script.js"></script>
</body>
</html>
https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.js
https://cdnjs.cloudflare.com/ajax/libs/d3/4.7.3/d3.min.js