Virtual reality representation of a force-directed iterative layout, using 3d-force-graph-vr. This component uses A-Frame for VR rendering and either d3-force-3d or ngraph for the layout physics engine.
Cycle through various topological data sets using the button on the top-right. Click the icon on the bottom-right to enter VR mode.
Simulate flying-style movement through the layout using a gamepad controller or the arrow/wasd keys on a physical keyboard.
See also the WebGL version.
xxxxxxxxxx
<head>
<script src="//unpkg.com/3d-force-graph-vr@1"></script>
<script src="//unpkg.com/d3-dsv"></script>
<script src="data-set-loader.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="graph-data">
<span id="graph-data-description"></span>
<button class="toggle-data-btn" onClick="toggleData()">Show me something else</button>
</div>
<div id="3d-graph"></div>
<script src="index.js"></script>
</body>
https://unpkg.com/3d-force-graph-vr@1
https://unpkg.com/d3-dsv