Quick start with react-globe.gl
masterTo use react-globe.gl in a React application, import the Globe component from the package. You can then render the component and pass data to its props (e.g., pointsData) to visualize information on a 3D globe.
Using npm/yarn
import Globe from 'react-globe.gl';Using a script tag
<script src="//cdn.jsdelivr.net/npm/react-globe.gl"></script>Rendering the component
ReactDOM.render(
<Globe
pointsData={myData}
/>,
myDOMElement
);import Globe from 'react-globe.gl';
// ...
ReactDOM.render(
<Globe
pointsData={myData}
/>,
myDOMElement
);