This is a demonstration of the d3fc-label-layout component based on Mike Bostock's Let's Make a Map example. The label layout component provides an easy mechanism for labeling charts and maps in such a way that labels are positioned to avoid collisions, and (optionally) overlapping labels are removed.
https://npmcdn.com/topojson@1.6.24/build/topojson.min.js
https://d3js.org/d3.v4.js
https://unpkg.com/d3fc/build/d3fc.min.js