Second Edition of Data Visualization Book Addresses LLMs and Automation
A thoroughly revised second edition of 'Data Visualization: A Practical Introduction' is forthcoming, with updated R code and expanded discussion on large language models (LLMs) in coding workflows. The book emphasises developing hands-on skills alongside the growing role of code automation. Updates reflect advancements in R and new software packages impacting the field.
Kieran Healy has announced a forthcoming second edition of his book, Data Visualization: A Practical Introduction, expected to be published by Princeton University Press later this year. The revised edition builds on its predecessor with substantial updates to both content and code, reflecting major changes in the R programming ecosystem as well as the rapidly evolving landscape of data analysis and automation.
The book's draft is publicly accessible at https://socviz.co, with a sign-up form available for those interested in purchase notifications. The new edition brings all example code up to date with ggplot version 4 and R version 4.5 and newer, addressing warnings and compatibility issues that users of the first edition may encounter. Besides technical updates, the second half of the book has been extensively rewritten to incorporate significant advances in mapping with the sf package and extracting model results with the marginaleffects package.
Healy’s experience teaching the subject and feedback from users have influenced modest changes throughout, including a greater emphasis on data wrangling. Methodologically, the teaching approach has shifted toward a more pipeline-based workflow, encouraging best practices for reproducible and robust graphic design in R.
Crucially, the second edition also directly addresses the influence of large language models (LLMs) and code-generation agents in the analytic workflow. LLMs, such as OpenAI’s GPT models, are artificial intelligence systems capable of generating human-like code and text. Healy explores the growing question of whether these tools can or should replace manual, iterative coding in the field of data visualisation. While acknowledging the power and utility of code automation, he maintains the importance of building fundamental skills for identifying quality and errors—critical capabilities that pure automation cannot replace.
Quoting from the preface, Healy writes, "Large Language Models (LLMs) and coding agents are now part of the workflow of code generation and evaluation... But I also want you, the reader, to learn how to do good graphical work in a reproducible way. That means having a keen eye for quality and a good nose for error."
Healy emphasises that even with powerful new AI tools, foundational knowledge remains essential to discerning correct, effective, and ethical data analysis—much as practical know-how is needed to safely and correctly use any advanced tool.
Data Visualization: A Practical Introduction continues its mission as a hands-on entry point into the field, targeting both beginners and experienced users intent on refining their practice amid a changing technological environment.
r-bloggers.com{:target="_blank"}
Related Posts
Leading AI Coding Tools Set to Shape Data Science in 2026
A growing range of AI-powered coding tools is transforming data science and machine learning practices for 2026. These solutions promise to improve productivity, automate routine tasks, and support rapid development across industries. Their influence will likely be significant for both research and enterprise applications.
Small Businesses Turn to AI for Administrative and Growth Tasks
Small businesses are adopting AI tools to manage administrative workloads and streamline operations. By leveraging services such as Notion AI, entrepreneurs can automate routine tasks, freeing time to focus on business growth. Despite some limitations, AI offers practical support for time-constrained business owners.
Amazon Introduces AI-Generated Product Images in Search Results
Amazon will begin displaying AI-generated product images in its search results, aiming to enhance the user experience. The new feature leverages text-to-image generative AI technology but raises questions about authenticity and transparency.