This is a map of Qubec in response to Stackoverflow question. The gist is based on Let's Make a Map.
xxxxxxxxxx
<meta charset="utf-8">
<style>
#area {
stroke: grey;
stroke-width: 1px;
fill: steelblue;
}
</style>
<script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="https://d3js.org/topojson.v1.min.js"></script>
<body>
<script>
var width = 960,
height = 500;
var svg = d3.select("body").append("svg")
.attr("width", width)
.attr("height", height);
var projection = d3.geo.mercator()
.center([-71.94, 52.90])
.scale(750)
.translate([(width) / 2, (height)/2]);
var path = d3.geo.path()
.projection(projection);
d3.json("qc-map.json", function(error, qbec) {
console.log(qbec)
svg.append("path")
.datum(topojson.feature(qbec, qbec.objects.map_qc))
.attr("id", "area")
.attr("d", path);
});
</script>
</body>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
Modified http://d3js.org/topojson.v1.min.js to a secure url
https://d3js.org/d3.v3.min.js
https://d3js.org/topojson.v1.min.js