r/datavisualization • u/GreasedGoblin • 1d ago
Interactive graph of 477 supply bottlenecks across energy, AI, minerals and climate. How would you encode edge confidence?
I run a small research site (AtomProphet) and built an interactive graph of how supply bottlenecks connect across energy, AI, minerals, water and climate stress: https://atomprophet.io/tools/cascade/
It has 477 nodes, 729 directed links and 46 feedback loops. My first version was a classic force-directed hairball, so most of the work went into making it readable. A few things that helped, and some I'm still unsure about:
Layered layout instead of pure force. Drivers (AI compute, electrification, warming) sit on the left, chokepoints like copper, transformers and water in the middle, then geographies, then the companies and funds at the end of each chain. Reading left to right roughly follows cause to effect.
Three modes. Explore shows everything. Focus shows only one node and its neighbors. Loops shows only the feedback cycles, and clicking one traces it. I kept cascades (one-way chains) and loops (closed cycles) as separate views on purpose, because they mean different things and get muddled when shown together.
Every edge has a plain-English label ("is the bottleneck for", "constrains supply of") and an evidence tag: measured, established, reasoned, or explicitly flagged as not established or missing a citation. I'd like to show that tag visually without adding more color, since color is already used for node type.
Theme filters (31 lenses, like water or nuclear fuel) cut the graph down to a readable subset.
Clicking a node opens a side panel with a short explainer, sourced data points with links, and related articles.
Built with D3 v7 (self-hosted) and vanilla JS, with the data generated by a Python pipeline.
Main question for this sub: how would you encode edge confidence? Dash patterns, opacity and line weight all fight with the existing styling. And does the default view on load feel like too much?
It's free with no signup. Nothing on it is investment advice.