Gist 70fafe8547608313b223b2b4dff80491
✓ Published0🌍 Public
MMistyBlunch
Last edited Mar 17, 2020
Created on Mar 17, 2020
This visualization displays a node-link diagram of the Linux `PATH` environment variable, rendered as an interactive force-directed graph. The code uses `d3.js` with `d3.forceSimulation` to position nodes and `d3.geoPath` for the background map, though the map appears static. Each directory entry from the `PATH` is a node, with edges showing the order of directories. The graph is drawn using the Canvas API, with `getImageData` used to detect node hover collisions. Data comes from the referenced OpenSource.com article on setting `PATH` in Linux, encoded directly into the JavaScript.
AI-generated description