This dataset includes historical records of various greenhouse gas concentrations, measured in parts per million (ppm), across many years. Each observation corresponds to a certain year and the concentrations of various gases, such as CO2, CH4, and N2O.
year gas concentration
1 20 CO2 277.7
2 40 CO2 277.8
3 60 CO2 277.3
4 80 CO2 277.3
5 100 CO2 277.5
6 120 CO2 277.6
Scatter Plot for Greenhouse Gases
ggplot(greenhouse_gases, aes(x = year, y = concentration, color = gas)) +geom_point() +labs(title ="Greenhouse Gas Concentrations Over Time", x ="Year", y ="Concentration (ppm)" ) +theme_minimal() +theme(plot.title =element_text(size =14, face ="bold"), axis.title =element_text(size =12) ) +scale_color_brewer(palette ="Set3") +guides(color =guide_legend(title ="Type of Gas"))
Observation
CO2: Often displays a large increase, showing its major role as a greenhouse gas and its strong relationship with human activities such as the usage of fossil fuels. CH4: Has increased fluctuation and can show sharp increases at select places, reflecting changes in sources like as agriculture or landfills. N2O: Usually shows a modest but consistent increase over time.