Will AI automate data visualization?
Nick Desbarats
Instructor and best-selling author, data visualization and dashboard design | Taught in 15+ countries | Lecturer @ Yale, Columbia | LinkedIn Top Data Visualization Voice
This article is reposted from the Practical Reporting blog. Subscribe to the Practical Reporting email list to be notified of future articles like this (one to three per month).
As pretty much everyone and their robot dog is now aware, there are jaw-dropping breakthroughs happening in artificial intelligence (AI) on an almost daily basis. To those of us in the data visualization field, this begs the obvious question: Will AIs be able to create expert-level charts without any human intervention, and, if so, when might that happen?
That’s hard to say, of course, but what seems almost certain at this point is that the process of creating a chart is going to change dramatically in the very near future. Already, AI users can describe a chart using simple, plain-language prompts, and get an image of that chart in seconds without having to use the graphical user interfaces (GUIs) of data visualization products like Tableau Desktop or Microsoft Excel. How good are the resulting charts? Well, in my opinion, they’re currently pretty hit-or-miss and often require corrections or enhancements by a human with data visualization expertise before being shown to an audience. Given how quickly AI is advancing, though, how long might that remain the case?
I think writing computer code provides a potentially informative model here since current AIs are much more advanced when it comes to generating code compared with generating charts. The GPT-4 AI was released about a week ago as I write this, and it can produce astonishingly good code based on plain-language prompts. Does this mean that people no longer need to know how to code? Well, that doesn’t seem to be the case, at this point anyway. For now, people with coding expertise are still needed for a few reasons:
- A human coder still needs to decide what code is needed in a given situation, and what that code should do. AIs can decide what code is needed for common applications with similar examples in their training data, such as simple games or content management systems, but they have trouble with more complex, novel, or unique applications, such as custom enterprise software applications. As far as I can tell, someone without any coding expertise would struggle to formulate prompts that would result in usable code for anything but simple, common applications.
- AIs often make mistakes that must be identified and corrected by expert coders before the code can run without throwing errors or introducing problems like security vulnerabilities or unintended application behaviors.
This means that, for now anyway, humans with coding expertise are still needed to guide and supervise coding AIs. Those coders will be a lot more productive (and so potentially less numerous), but still necessary. A similar consensus seems to have emerged in recent months around car-driving AIs: During the last decade or so, many people assumed that humans would no longer need to know how to drive because car-driving AIs would exceed human driving abilities in all situations. In recent months, however, it’s started to look more like humans will still need to know how to drive since car-driving AIs are unlikely to perform reliably in a wide variety of situations for the foreseeable future. Yes, drivers will be more productive since they can rely on AI for simpler tasks like highway driving in good conditions, but they’ll still need to know how to drive so that they can correct or take over for the AI in more unusual or complex situations.
Data visualization might follow a similar path. It seems almost certain at this point that human chart-makers will become a lot more productive, because they’ll be able to simply describe a chart in plain language and get that chart within seconds. In many cases (but not all), this will be faster than using the GUI of a data visualization software product to create a chart, and learning how to use an AI to create charts will be a lot quicker and easier than learning how to use data visualization software.
Even if they’re using an AI, however, chart makers still need data visualization expertise to decide what charts are needed in a given situation, and to supervise the AI by correcting any data visualization, reasoning, or perceptual mistakes that it might make. A human with data visualization expertise might also need to prompt the AI to make design choices that the AI might have trouble making on its own, such as deciding to visually highlight part of a chart, adding callouts with key insights, or bringing in comparison/reference values from an external source.
If this is how things play out, it would mean that people will still need data visualization skills, but the way in which they’ll use those skills will change drastically. Instead of using those skills to make charts “by hand” using the GUI of a data visualization software application, they’ll use those skills to guide and supervise chart-making AIs, just as human coders use their coding expertise to guide and supervise coding AIs.
Now, a chart-making AI might not offer enough control or flexibility for some users, particularly those who create highly customized charts such as scientific charts, data art, specialized business dashboards, or novel chart types. Those users will likely still need to use data visualization GUIs or code libraries such as ggplot or D3.js, but they represent only a small minority of chart creators. I suspect that a good chart-making AI will meet the needs of most people who create charts.
I’m probably over-estimating its importance, but my upcoming Practical Charts book might accelerate the transition from using GUIs to using AIs to make charts. The book contains chart design guidelines that are more concrete and specific than other books, which is exactly the kind of training data that would help a chart-making AI become more competent. On the one hand, it’s frustrating to think that I might have spent the last several years writing training data for AIs (and also to not be able to block AIs from including it in their training data—unless legislation or policies change). On the other hand, I recognize that AIs that include my book in their training data may allow millions of people to make better charts. This is already happening with AI-generated computer code, which often contains expert-level techniques and practices that were distilled from code in the AI’s training data that was written by expert coders, and that many coders who use the AI wouldn’t think of on their own. It’s also happening with car-driving AIs, which can allow human drivers to perform better by, for example, slamming on the brakes to avoid a frontal collision faster than a human ever could.
Now, this situation could change, of course. Between the late 90s and early 2010s, for example, the best chess players in the world were “centaur” or “hybrid” teams consisting of a human grandmaster using a chess-playing AI to assist them. Such teams could easily beat the best AI-only players. That changed, however, when chess engines like AlphaZero came out a few years ago, which were so good that pairing a human grandmaster with them made them worse, not better. The question, then, is whether data visualization is more like chess, or more like car-driving? Only time will tell, but it feels more like car-driving to me at the moment, i.e., like something that will require expert human supervision for the foreseeable future.
Take all of this with a boulder of salt, of course, since this is pure speculation based on the information that’s available at the moment. Some of the challenges that I’ve described could turn out to be much easier or much harder than expected for AIs to overcome, and things could be very different a few years from now. Or next Tuesday.
Agree? Disagree? Awesome! Let me know here on LinkedIn or on Twitter.
By the way...
Registration is now open from my upcoming online public workshop in June. If you’re interested in attending my Practical Charts and/or Practical Dashboards course, visit the workshop page for more information. I hope to see you (online) there!
I design and build custom web-based dashboards that help analysts and leaders increase efficiency and make better decisions.
1 年I've also noticed that AIs are very good at coding. It still needs someone to guide it through the creation of a non-trivial application, but who knows how long that will be the case. I envision many AI agents trained for specific tasks, similar to OpenAI's Advanced Data Analytics (formerly Code Interpreter). Would it be better to have more granular, fine-tuned agents for even more specific tasks, with an AI manager delegating and coordinating between agents? In the software world, you may have agents specifically trained to architect Python-based web applications on AWS. I can also see AI agents trained by domain experts. I haven't been following the legal side of things in terms of IP and licensing for use in LLMs, but I imagine a lot is happening in the space. What if you trained or fine-tuned your own AI agent based on your book and all of your articles? You could continue fine-tuning it over time based on new examples and feedback on its real-world usage. AI-Nick could be significantly better at answering questions related to chart and dashboard creation than a generalized AI. It may not be as good as real Nick, but it could be available 24/7, 365 days a year, to millions of people at the same time.
Nice way to articulate all of the latest thoughts around AI and data viz! My thought is in a similar verve: the way I see it, if someone equates data visualisation with "creating charts using a software", then that bit will potentially become obsolete rather quickly. A lot of people do equate data viz with software skills. That's where I believe all the doomsday comments come from. But tools come and go. What remains is the expertise of what works and what doesn't work when humans are consuming information using visual encodings. The theory and technique remain. And while AI may be able to tell you what the theory and technique are, it's still a few leaps away from being able to perform this context analysis on top of performing the mechanical tool steps to create a chart. It's also based solely on input. If my consulting experience is anything to go by, clients often need a lot of support to go from their initial requirements to framing them into a workable visualisation. The AI won't do further questioning into the initial prompt to ensure it yields the expected output. It will take the requirement at face value and spit out whatever it can make of it. Which will likely become frustrating very quickly.
Data & AI Guide & Business Analyst?? Trainer Autor | Daten besser nutzen mit Analytics & KI. Brücken bauen in Business & IT. Von Ideen zum Anwendungsfall, vom Prototyp zum Dateneinsatz in KI, Data Science, BI & Reporting
1 年My wild guesses on "AI generated business visualisations" would be that it will benefit from and nurture the #dataliteracy of casual users interacting with a suitable "Augmented Viz AI" (will likely will come from well-known vendors today and some newcomers), thereby improving the adoption of #dataanalytics. I am curious to find out if by the end of 2025, the following aspects for visualisations will be "available via AI automation": * Deliberate visualisations for business communication suitable for story telling, based on prompts by analysts, business users, or executives. * Generally promoting meaningful standardisation, such as your design guidelines Nick, or SUCCESS rules from #ibcs , with customisation, like acting roles for ChatGPT. * Proper results based on conversational clues from an analyst to highlight, properly emphasise or annotate focus points of data. For now, I expect a productivity boost for casual users and simple tasks of analyst through "Augmented AI" in the near future within 1-2 years (availability in SW products, NOT wide-spread use), as well as automated analytics in another type of Analytics tools (e.g. Hyper Anna). For power users ??, I think the 3 aspects above,will decide how soon this is useful.
Turning Data into value | Chief Product Officer | Data Visualization | Data Analytics | Sales Data Driven
1 年Great read, and i hope that AI have read your books! AI will help us too to be faster in the iteration and creative process with the business when we are creating data visualizations
Amplifying the voice of researchers | Founder of PresentBetter | 10+ years & 10,000+ researchers trained | Currently booking with universities for '25-'26 academic year
1 年I like the "expert supervision" concept here and think it applies widely to the current AI space.