A scarf knitted by a German woman to document her frustrations with frequent train delays has sold for €7,550 (£6,720) on eBay, as the country’s biggest railway company announces plans for a punctuality tsar.

The “rail delay scarf” came to prominence when Sara Weber, a journalist, posted a photo of it on Twitter earlier this month. Her mother, a commuter in the Munich area, knitted two lines a day in 2018 to represent how long she was delayed for, she explained.

The scarf is colour-coded: grey wool meant her delay had been less than five minutes, pink signified delays of between five and 30 minutes, while red meant she was delayed for more than 30 minutes or had been delayed both ways.

“In the spring, everything was OK. Lots of grey and pink,” Weber wrote. “Then for a while it was all red: rail replacement traffic throughout the summer.”

The scarf in full. Photograph: Twitter/Sara Weber

The scarf, approximately 1.5 metres (4.9ft) long, represented many Germans’ frustrations with train delays, despite their country’s reputation abroad for efficiency and punctuality.

After it went viral on social media, Weber and her mother decided to auction the scarf off for charity; as of Monday morning, bidding for the scarf had reached more than €3,600, before more than doubling in its final hours on the site.

The continuing delays have led the German railway company Deutsche Bahn to appoint Ronald Pofalla, DB’s head of infrastructure and a former chief of staff in the German chancellery, as crisis manager to improve its punctuality record.

Roughly one-quarter of all trains and one-third of long-distance trains were late in 2018 — a far cry from the days when 95% of German trains ran on time. For 2019, Deutsche Bahn has set an on-time goal of 80% of all trains and 76.5% of long-distance trains.

Pofalla and other leading DB executives will present their improvement plans to Germany’s transport ministry on Tuesday.

Proceeds from the scarf will go to Bahnhofsmission, a charity helping vulnerable passengers or those facing travel emergencies.

“We truly did not expect this,” Weber wrote on the eBay page. “My mother and I are overwhelmed by the positive feedback.”