Hello Stata users,
I would be grateful for any assistance.
I have data like this:
How can I draw a graph using this data on Stata that looks like this:

Your guidance on this is highly appreciated.
Best regards,
Dastan
I would be grateful for any assistance.
I have data like this:
Code:
shock shock_year Drought 2023 Drought 2023 Drought 2022 Too much rain 2023 Too much rain 2023 Too much rain 2023 Too much rain 2019 Too much rain 2019 Frosts 2020 Floods 2022 Floods 2023 Very cold winter 2019 Very cold winter 2022 Frosts 2019 Frosts 2019 Frosts 2019 Frosts 2020 Frosts 2020 Very cold winter 2020 Very cold winter 2021 Very cold winter 2023 Floods 2020 Floods 2020
How can I draw a graph using this data on Stata that looks like this:
Your guidance on this is highly appreciated.
Best regards,
Dastan
Comment