D3 v4 is modular, based on around 30 "microlibraries", intended to allow discrete functions to be broken out and used on their own.
I'm trying to assemble a minimal set of D3 microlibraries to do the following:
- Asynchronously load a TopoJSON file from the server using
- Process this data
- Using a projection, turn it into a SVG polygon or path definition strings (not SVG elements)
...and that's it. I'm using something else (Raphael.js) to process the path strings, so I don't need the rest of D3.
I thought I'd only need topojson and d3.geo but I'm either not understanding something or I'm lacking the capability to load JSON files and the capability to convert data to path definitions, and I'm struggling to find those features in the D3 micro-libraries.