How to build TopoJSON using geodata from a Web Feature Service (WFS). For more details on how a WFS works, I recommend Using a Web Feature Service.
Data from opendata.admin.ch © GIS-ZH
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