🌍 Public
Viewing a saved revision (read-only)
cc205290f4c940a7a01b7fda94d3f78b
Untitled
This example shows how to render an interactive scatter plot of random data points using React. It uses the `react-kapsule` library to integrate the Three.js scene graph with React components, where each point is a Three.js `Mesh` object. The code loads data from a JSON file via a `useEffect` hook and updates the positions of the points with `d3.forceSimulation` to create a gentle clustering effect. The visualization also includes basic orbit controls for rotating the 3D scene.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.