title: “Global Tech Layoffs Analysis (2020–2026)” author: “Chandana” output: html_document ———————

Introduction

This report analyzes global technology industry layoffs and hiring trends between 2020 and 2026. The dataset includes information about layoffs, hiring trends, AI adoption, employee sentiment, company performance, and market conditions. The goal is to identify patterns and insights through effective data visualization techniques.

Load Dataset

## Rows: 12,000
## Columns: 23
## $ record_id              <chr> "T0", "T1", "T2", "T3", "T4", "T5", "T6", "T7",…
## $ company_name           <chr> "Microsoft", "Palantir", "Anthropic", "Spotify"…
## $ industry               <chr> "AI", "AI", "Cybersecurity", "Gaming", "Gaming"…
## $ country                <chr> "Singapore", "Canada", "USA", "USA", "UK", "USA…
## $ company_size           <chr> "Enterprise", "Big Tech", "Mid-size", "Mid-size…
## $ month                  <chr> "Mar", "Feb", "Apr", "Jun", "Feb", "Jul", "Dec"…
## $ year                   <int> 2026, 2024, 2025, 2025, 2025, 2024, 2024, 2025,…
## $ layoffs_count          <int> 860, 955, 18912, 18159, 815, 3568, 3454, 1038, …
## $ layoff_percentage      <dbl> 1.8, 1.8, 9.5, 9.1, 3.3, 32.7, 29.4, 1.1, 9.3, …
## $ reason_for_layoffs     <chr> "AI Automation", "Cost Cutting", "Overhiring Co…
## $ ai_automation_impact   <dbl> 6.4, 0.9, 7.1, 10.4, 11.4, 0.9, 6.7, 6.2, 9.5, …
## $ ai_replacement_risk    <dbl> 5.0, 1.1, 3.9, 7.4, 10.0, 8.4, 10.0, 5.8, 10.0,…
## $ open_roles             <int> 5426, 9666, 437, 1075, 537, 642, 1620, 763, 534…
## $ hiring_trend           <chr> "Moderate Hiring", "Moderate Hiring", "Hiring F…
## $ remote_jobs_percentage <dbl> 46.7, 58.9, 85.4, 44.0, 53.2, 66.9, 47.8, 55.1,…
## $ top_hiring_role        <chr> "ML Engineer", "ML Engineer", "Frontend Develop…
## $ stock_growth_percent   <dbl> -25.7, -5.6, 7.0, 31.6, 85.3, 36.8, 51.3, -26.2…
## $ revenue_growth_percent <dbl> 30.3, 6.1, -23.6, -22.3, 26.6, 53.7, 39.7, 26.4…
## $ salary_budget_change   <dbl> 4.9, 1.5, -14.9, -1.6, 9.8, 15.2, 10.8, 13.9, -…
## $ ai_adoption_level      <dbl> 4.4, 1.0, 5.6, 6.5, 9.3, 1.1, 5.0, 5.7, 6.4, 3.…
## $ employee_sentiment     <dbl> 8.7, 8.2, 4.5, 5.4, 6.7, 7.7, 6.9, 6.5, 5.8, 5.…
## $ job_security_score     <dbl> 8.6, 7.2, 5.9, 4.7, 5.8, 5.4, 4.2, 8.4, 6.0, 6.…
## $ market_condition       <chr> "Bull Market", "Bull Market", "Recession", "Rec…

1. Total Layoffs by Year (Line Chart)

2. Top 10 Companies with Highest Layoffs (Bar Chart)

3. Layoffs by Industry (Bar Chart)

4. Layoffs by Country (Bar Chart)

5. AI Adoption vs Layoffs (Scatter Plot)

6. Employee Sentiment by Market Condition (Box Plot)

7. Remote Jobs Percentage by Industry (Bubble Chart)

8. Interactive Plotly Visualization

Conclusion

The visualizations demonstrate major trends in global technology layoffs, including the influence of AI adoption, market conditions, industry-specific impacts, and changing hiring patterns. Interactive visualizations further improve understanding of workforce changes across the tech sector.