Object-oriented charting with Datawrapper 2.0

I'm pleased to release version 2.0 of the open-source tool for creating Datawrapper charts with the Python programming language. The new edition makes it easier than ever for journalists to automate charts and maps. And it lays the groundwork for even bigger strides in the dawning era of AI assistants. We've completely redesigned the approach for simplicity and speed. Users are no longer required to struggle with decoding arcane configuration options or wrestle with the complex data structures of the Datawrapper API. Chart types are now defined in a legible, consistent style, known to the real nerds as "object-oriented programming," with well-documented options, clearly defined data types, and proper validation. Creating a new chart is now as simple as: dw . BarChart ( title = "Most Popular Programming Languages in 2025" , data = data , ) . create () This approach to Python is well-positioned to surf the new wave of Generative AI tools rushing out from companies like Anthropic, OpenAI and GitHub. In the weeks and months ahead, we will be experimenting with the emerging Model Context Protocol standard to see if chatbots can use our code to make charts. I'm betting the answer is yes. Today's release is the product of months of work here at Reuters, where our team has automated the creation of tens of thousands of breaking news charts by building pipelines that connect newsy data feeds to Datawrapper. More than 120 have already appeared on our homepage. This work required painstaking study of the Datawrapper API and hours of careful experimentation by Iris Lee, Grant Smith, Rhyannon Bartlett-Imadegawa and myself. I'm proud that we're able to share what we've learned and hope it can help you get things done. I'm certain that we will benefit from the contributions of others to the tool. You can see the new code for yourself in our newly expanded Datawrapper documentation or by visiting the repository . I've also updated my online tutorial, First Automated Chart , to guide newbies on how to use the revised system. This expansion is an outgrowth of pioneering by the library's founder and maintainer, Sergio Sanchez. It wouldn't exist without him. Thank you, Sergio!