Let's do data analysis project using the most powerful AI model, Gemini 3.0 and prompts.

By Gencay

Published: 2025-11-27

URL: https://www.learnwithmeai.com/p/data-project-14-health-nutrition


Even if we are not Bryan Johnson, obsessed with living forever( totally understandable and love his content), we all wonder about what the core factor of living longer is, right?

What if I tell you that you can do data analysis by just prompting, using the data collected from well-known organizations like the WHO, UNICEF, and the World Bank?

In this week’s project, we’ll use Gemini 3.0, the best AI officially, and do data analysis using the MARS method to find an answer to the following questions;

  1. Does GDP per Capita affect Life Expectancy?
  2. Does Diet Composition (Meat vs Fruit and Vegetables) affect Life Expectancy?
  3. Which kills more: Battle-Related Deaths or Road Traffic Deaths?
  4. Do women live longer than men across all countries?
  5. How has Life Expectancy changed from 2000 to 2020?
  6. Which Diet Composition type is most consumed globally?

As usual, all prompts are inside the GDrive, where our paid subscribers can reach.


Black Friday Special Discount

Get 20% off on LearnAIWithMe, only $96/year instead of $120. Offer ends in 4 days.

Includes Weekly AI Pulse, custom GPTs, and project codes and prompts.

Let’s get started, and Bryan if you are reading this, reach out to me.

Gemini 3.0

Here is the link to the Gemini 3.0: https://gemini.google.com/app

Select the Thinking with 3 Pro, and we are good to go.

If you’re using another AI, that’s okay. Just make sure you can upload the data to it, and it’s even better if it can think.

Free option:

Global Health, Nutrition, Mortality, Economic Data

Now, let’s see the dataset we’ll use.

This dataset has year-by-year data between 1990 and 2019 for 193 countries.

It summarizes their health, nutrition, death/mortality, and economic indicators. It lets us compare how nutrition, wealth, and health outcomes change globally over time.

\The source\

The origin of this dataset is;

  • World Health Organization
  • Unicef
  • World Bank and two more organizations.

Step 1: Data Exploration

We’ll do the entire data project, using only Gemini 3.0. Let’s first do data exploration.

I pasted this prompt.


Do a quick data exploration:
Shape (rows, columns)
Columns & dtypes
Head (first 5 rows)
Missing values summary
Key visualizations (distributions, correlations)
Keep it concise – just the essentials.

And here is the result, step-by-step.

First, it visualizes key metrics.

Step 2 is the correlation matrix. See how life expectancy and GDP per Capita correlated.

Next, the dataset specifics. It has 150 columns and 220 rows, and it looks like it has missing values. And the dollar sign should be removed to do better data analysis in the next steps.

Since we said in our prompt to be concise, it did not provide all visualizations and output explanations of them, which is better.

Let’s see the head of the data.

Step 2: The Curiosity

In this step, we’ll identify the question that sparks curiosity. You can manually check the columns, too, but the aim for this data project is to automate with Gemini 3.0 fully.

So, let’s use a prompt.


I attached the dataset, and here is the Data Dictionary: [paste data dictionary from here: https://www.kaggle.com/datasets/miguelroca/global-health-nutrition-mortality-economic-data]
Based on this data, generate 6 curiosity-triggering questions I can analyze.
Rules:
One clear question per line
Use exact column names from the dataset
Mix of: comparisons, correlations, rankings, and trends over time

Here is the output of Gemini 3.0

  1. Does GDP per Capita affect Life Expectancy?
  2. Does Diet Composition (Meat vs Fruit and Vegetables) affect Life Expectancy?
  3. Which kills more: Battle-Related Deaths or Road Traffic Deaths?
  4. Do women live longer than men across all countries?
  5. How has Life Expectancy changed from 2000 to 2020?
  6. Which Diet Composition type is most consumed globally?

Step 3: Analysis

In this step, we’ll try to answer the questions above, using the MARS method, which includes Mathematics, AI, Reasoning(ML), and Statistics.

That’s why, before doing data analysis, send this prompt to the Gemini 3.0


Now we’ll answer the questions together. I’ll send you each question, and you’ll do the data analysis. Use statistical or machine learning methods whenever needed. Don’t hesitate to use math to make the output meaningful. Your answers should be clear, concise, and still fully explained.

Does GDP per Capita affect Life Expectancy?

As you can see from the graph, it looks like life expectancy and GDP per capita is positively related, which means if you have money, you’ll live longer.

Here is the technical explanation that Gemini provides;

Does Diet Composition (Meat vs Fruit and Vegetables) affect Life Expectancy?

The data show that higher meat consumption is positively related to life expectancy. It's interesting, let’s see Gemini’s analysis.

Which kills more: Battle-Related Deaths or Road Traffic Deaths?

Traffic is more dangerous than war, which is an interesting fact. Let’s see Gemini’s analysis.

Do women live longer than men across all countries?

We all heard this rumor, right? And it looks like it is true, and for all 81 countries that were analyzed, women live longer than men.

How has Life Expectancy changed from 2000 to 2020?

Life expectancy is increasing, which is good news. Let’s see the entire analysis.

Which Diet Composition type is most consumed globally?

Cereals and sugar are two of the top three, interesting.

Key Takeaways

The myth that women live longer is validated, while eating more meat appears to be positively correlated with longer life, which is unexpected.

Money does buy time, and surprisingly, traffic kills more people than war globally, and it looks like the life expectancy is increasing day by day.