This project is a React application that visualizes demographic data for Turkey through interactive heatmaps. It includes two main features: a Turkey Population Heatmap and a Turkey Unemployment Rate Heatmap. Users can switch between these two visualizations using a tab layout.
turkey-map-react-demo
├── public
│ ├── index.html # Main HTML file for the application
│ └── favicon.ico # Favicon for the application
├── src
│ ├── components
│ │ ├── Heatmap
│ │ │ ├── TurkeyPopulationHeatmap.js # Component for Population Heatmap
│ │ │ └── TurkeyUnemploymentHeatmap.js # Component for Unemployment Rate Heatmap
│ │ └── TabLayout.js # Component for tab layout
│ ├── data
│ │ ├── population.json # Population data for cities
│ │ └── unemployment.json # Unemployment data for cities
│ ├── App.css # CSS styles for the application
│ ├── App.js # Main application component
│ ├── index.css # Global CSS styles
│ └── index.js # Entry point for the React application
├── package.json # npm configuration file
├── .gitignore # Git ignore file
└── README.md # Project documentation
-
Clone the repository:
git clone <repository-url> cd my-react-app -
Install dependencies:
npm install -
Run the application:
npm start -
Open your browser: Navigate to
http://localhost:3000to view the application.
- Use the tabs on the left side of the application to switch between the Turkey Population Heatmap and the Turkey Unemployment Rate Heatmap.
- Hover over the cities on the heatmaps to view detailed information about the population or unemployment rate.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License.