An immersive AR/VR application that visualizes deforestation and CO2 emissions by country over time, enabling users to interactively explore environmental changes through a physical map interface and virtual interactions.
This project visualizes deforestation trends and CO2 emissions using 3D tree models in an immersive VR environment. Users can select countries and time periods (2000–2020) to see how forest areas and emissions have changed.
- Developed with Three.js and WebXR.
- Data overlays triggered through controller input or UI.
- Visuals respond to real data: new trees for reforestation, tree removal for deforestation.
- Used in-class testing to explore learning outcomes.
- ✅ WebXR support for immersive VR experiences
- ✨ Interactive data visualization of tree cover changes (gain/loss)
- 🌳 Dynamic 3D trees mapped to real-world data
- ⏱ Time slider (2000-2020) and country selector UI
- 🌍 Physical map trigger support (for AR)
- ⚖️ 2D/3D visual comparison and experimental feedback loop
All environmental data is sourced from:
Including:
- Tree cover gain/loss in hectares
- Country-wise data from 2000 to 2020
- Three.js: Core 3D rendering and scene management
- WebXR: Enables immersive VR experience
- GSAP: Animations for smooth tree growth/loss
- HTML/CSS/JavaScript: Interface and logic
-
Clone this repository:
git clone https://github.com/yourusername/deforestation-vr-visualization.git cd deforestation-vr-visualization -
Add your data file:
- Place
test_data.json(matching the format expected inloadData()) into the root folder.
- Place
-
Serve the project with a local server (for module support):
npx http-server . -
Open the project in a WebXR-compatible browser (e.g. Chrome) and click the canvas to enter VR mode.
This project is designed as a learning tool for:
- Teaching climate change with data-driven visuals
- Engaging students through spatial interaction
- Supporting discussions about environmental policy using simulations
- AR image marker detection using AR.js or 8thWall
- Real-time CO2 overlay in future updates
- Integration with Google Earth Engine for more dynamic datasets
- Built by: Yanmi Yu
- Data: Global Forest Watch
- Frameworks: Three.js, WebXR, GSAP
MIT License. Feel free to fork, adapt, or build upon this for educational or research purposes.