How to Create a Data Visualization Without Coding

After seeing David McCandless‘ post “Which country is across the ocean?” I was curious which country you would reach if you tunneled below in a straight line (the antipode).

This is a popular visualization, but I wanted to see if I could get the newer OpenAI models to create the visual without me π—Ώπ˜‚π—»π—»π—Άπ—»π—΄ any code (i.e. I just want the answer.) After a couple of iterations, O3 did a great job with this prompt:

π™±πšžπš’πš•πš 𝚊 _πšœπš’πš—πšπš•πšŽ_ π™ΆπšŽπš˜π™Ήπš‚π™Ύπ™½ (π™΄π™Ώπš‚π™Ά:𝟺𝟹𝟸𝟼) πšπš‘πšŠπš πšœπš‘πš˜πš πšœ, πšπš˜πš› πšŽπšŠπšŒπš‘ πšŒπš˜πšžπš—πšπš›πš’, πš˜πš—πš•πš’ πšπš‘πšŽ πš™πšŠπš›πšπšœ 𝚘𝚏 πš’πšπšœ πšŠπš—πšπš’πš™πš˜πšπšŽ πšπš‘πšŠπš πš•πš’πšŽ πš˜πšŸπšŽπš› πš˜πšŒπšŽπšŠπš—. π™²πšŠπš›πšŽπšπšžπš•πš•πš’ πš‘πšŠπš—πšπš•πšŽ πšŒπš˜πšžπš—πšπš›πš’πšŽπšœ πšπš‘πšŠπš πšœπšπš›πšŠπšπšπš•πšŽ πšπš‘πšŽ πš™πš›πš’πš–πšŽ πš–πšŽπš›πš’πšπš’πšŠπš— - πš„π™Ί, π™΅πš›πšŠπš—πšŒπšŽ, π™°πš•πšπšŽπš›πš’πšŠ, 𝚎𝚝𝚌.

Here is the output and here is the ChatGPT conversation that generated it.

I learnt a few things:

  1. Ask for the output, not the code. Models like O3 and O4 Mini can run code while thinking. Let’s stop asking for code to run. Just ask for the output directly. Let it figure out how.
  2. Edge cases are everywhere. I had a problem with UK, France, Algeria, etc. straddling the prime meridian. If all goes well, you get AI-speed results. But it never does, and fixing it takes an expert and human-speed results. Programmers under-estimate edge cases, so compensate for this.

If you want to run this yourself, the code is at https://github.com/sanand0/antipodes

Leave a Comment

Your email address will not be published. Required fields are marked *