Post

My milquetoast take is that generative AI shouldn't ever be used with data visualisation full stop because hallucinated data is much harder to spot when it's been abstracted into a visualisation.

This post is unavailable.

49 reposts295 likes

There are GenAI powered tools that create data visualizations with Python code, and give you the code that you can inspect. IMO no reason not to use those if you can read and understand the code.

I uploaded a CSV of state population changes from the 2010 and 2020 US census and asked ChatGPT to graph the states with the 10 largest changes (positive or negative). It gave me a graph and also the Python code when I asked for it. It also asked me if I wanted to change the graph in any way. #GenAI

I asked it to show me a graph and the Python code for something else it "thought" was interesting about the data. Since I started with population change, it gave me average change by Census region. It can do a lot more, of course!

(This is from me trying to expand a generated alt text assistant to charts. The hardest part is explaining how if a model can do one seemingly difficult thing it cannot necessarily do another seemingly easy thing).

Yes there are like 5 more reasons ranging from ethics to ecology but from a purely practical and professional standpoint the biggest concern IMO is feeding your readers utter bullshit

The "abstraction" point I think is a really good one that can be applied more broadly. Most people aren't great at working at different levels of abstraction simultaneously, so anything that operates at a higher level of abstraction than your data is a risk. Non-deterministic and bullshitty: riskier

The one I see a lot that makes my blood run cold is people using gen AI to convert data formats. There are solid, battle-tested tools that work every time. I immediately lose respect for someone's work when I learn they've relied on ChatGPT to convert a CSV to JSON.

I think that genAI/LLMs, if anywhere, should be used as a pointer rather than a result producer. We can use them to get guesses for where to look, suggestions, ideas; and then do the actual work properly ourselves to avoid propagating any nonsense hallucinations. It's still often unnecessary.

Stats are especially tricky though, because a biased suggestion could skew a data scientist's perception before they even see the actual data, so I think it's best to completely avoid hallucination machines there.

It can definitely be used to create some visualization code, but you have to take ownership and double check it. Literally converting data seems like it would be fraught with errors. Pure laziness.