Configuring d3.json to Send Custom Authorization Headers
Goal: Use d3.json to fetch JSON data from an API that requires a scoped bearer token for least‑privilege access, while ensuring that expired credentials are handled without exposing the token to unrelated parts of the application. Constraint: d3.json (and related loaders) accept only a URL and an optional callback, and they internally call fetch(url) or XMLH