About the next few weeks

I'm coming to the end of my mentorship, and rather than just working on small projects, we decided to do something a bit more deliberate: a four-week collaboration project. A shared GitHub repository, clear goals, and a proper introduction to what it actually means to work on code with someone else.

That last part - GitHub - is essential when collaborating on projects. Version control is one of those things that sounds straightforward until you're actually in it: understanding branches, commits, when to push and when to pull, and why it matters when two people are touching the same files. It's less glamorous than building a chart, but it's the kind of infrastructure that makes collaborative work actually function.

So this post is going to work a little differently. Instead of a fresh article each week, I'll be updating this one and updating it with new features. So far we have added hover over tooltips, two buttons to switch between commodities, a new bar chart and a worldmap! Now this has been designed on a big screen and to get it responsive on the phone version is a bit harder. The buttons will work, but the sizing won't be as responsive. You'll have to bear with me for a bit longer to learn that.

Come back and see what's been added!

Thanks for checking this out - there are no more updates coming, this is the final look, enjoy!

And have a nice weekend!

GitHub Account: github.com/victoriaehrlich

The Cost of Fertiliser and Fuel

Two commodities. One crisis. Here's why both matter.

Global fertiliser and crude oil prices have both begun rising again as conflict involving Iran threatens production and exports from the Middle East. It echoes what happened after Russia's invasion of Ukraine in 2022, when energy and agricultural markets were thrown into turmoil together. That connection is not a coincidence - the two commodities are deeply linked.

Crude oil drives the cost of natural gas, and natural gas is the primary feedstock for producing urea, the world's most widely used nitrogen fertiliser. When oil prices rise, fertiliser production becomes more expensive almost immediately. The Middle East sits at the centre of both supply chains: it is a major crude oil exporter and a key producer and transit point for fertilisers, with around 35% of globally traded urea passing through the Strait of Hormuz. A disruption to one market rarely stays contained to one market.

Monthly global urea fertiliser prices ($/mt)

Data source: www.worldbank.org

The timing feels familiar. Russia's invasion of Ukraine in February 2022 triggered simultaneous shocks across both markets - oil prices spiked, gas supplies tightened, and fertiliser costs surged just as farmers across the northern hemisphere were preparing for the planting season. The same pressure is building now, and with it the same downstream risk: if fertiliser becomes too expensive or too scarce, farmers adjust what they plant and how much - and that ripples through food supply months later.

But the two commodities transmit their shocks differently. An oil price spike is felt quickly - in transport, energy bills, and production costs within weeks. Fertiliser works on a slower clock. Farmers commit to their inputs before the growing season begins, so a price surge in spring can quietly reduce yields by autumn.

The countries most vulnerable to these swings are those whose entire economies are built on oil revenues. When prices spike or supply is disrupted, the shock is not just felt at the petrol pump - it ripples through national budgets, public spending, and political stability. And several of those countries sit in the same region that is now at the centre of the current crisis.

Top 10 countries by oil rents as a share of GDP, 2021 (%)

Four of the top ten - Iraq, Saudi Arabia, Oman and Iran - sit at the heart of Middle Eastern oil supply

Data source: ourworldindata.org

The immediate question is whether the current ceasefire holds - and what follows if it does. Brent crude has steadied around $94 per barrel, with markets weighing the prospect of a broader agreement that could reopen the Strait of Hormuz against the reality that the waterway remains effectively closed. Analysts expect any supply recovery to be gradual, given the logistical constraints involved. That matters for both commodities in this story: a sustained easing in oil prices would, over time, feed through to lower gas costs and ease the pressure on fertiliser production. But the calendar is working against farmers who need to make planting decisions now, not once diplomacy has run its course. The harvest that follows will reflect choices already being made - under prices that have not yet come down.

Website: victoriaehrlichadam.my.canva.site/studiodotti