Julius AI — U.S. Chronic Disease Indicators Analysis
Used Julius AI to analyze the CDC’s U.S. Chronic Disease Indicators dataset through natural language prompts — exploring state-level disease trends, demographic disparities, and lifestyle-health correlations without writing code.
Tools: Julius AI · CDC Open Data · Natural Language Prompting · AI-Generated Visualizations
Project Overview
Overview
This project demonstrates how Julius AI — an AI-powered data analysis platform — can be used to explore a large-scale public health dataset entirely through natural language prompts. The dataset analyzed is the CDC’s U.S. Chronic Disease Indicators (CDI), a comprehensive collection of chronic disease surveillance data covering topics such as diabetes, asthma, cardiovascular disease, mental health, tobacco use, and obesity across all 50 U.S. states and territories.
Business Context
Public health agencies and analysts rely on chronic disease surveillance data to identify at-risk populations, allocate resources, and evaluate intervention programs. However, the CDI dataset is massive (96+ MB, hundreds of thousands of records) and requires significant technical skill to query and visualize effectively. AI-powered tools like Julius AI make this data accessible to non-technical stakeholders — enabling rapid exploration, hypothesis testing, and visualization generation through plain English conversation.
Objectives
- Upload and explore the full U.S. Chronic Disease Indicators dataset in Julius AI
- Investigate state-level diabetes prevalence trends over time
- Examine racial and ethnic disparities in asthma prevalence
- Test the correlation between physical inactivity and cardiovascular disease mortality
- Compare mental health distress rates between males and females across states
- Visualize tobacco use disparities by race/ethnicity
- Track national obesity prevalence trends over time
- Evaluate Julius AI as a tool for rapid public health data exploration
Skills Demonstrated
- AI-Assisted Analysis: Leveraging Julius AI for end-to-end data exploration without manual coding
- Prompt Engineering: Crafting effective natural language prompts to guide AI-generated analysis and visualizations
- Public Health Data Literacy: Interpreting chronic disease indicators, understanding age-adjusted rates, and contextualizing health disparities
- Data Storytelling: Translating AI-generated outputs into coherent narratives with actionable public health insights
- Exploratory Data Analysis: Trend analysis, demographic breakdowns, correlation assessment, and comparative analysis
- Critical Evaluation: Assessing AI-generated results for accuracy, statistical validity, and public health relevance
Dataset
Data Source
The dataset is the U.S. Chronic Disease Indicators (CDI), published by the Centers for Disease
Control and Prevention (CDC). It contains over 800,000 rows of chronic disease surveillance data spanning multiple
years, all 50 states plus territories, and dozens of health topics. The file
(U.S._Chronic_Disease_Indicators_20260206.csv, 96 MB) was uploaded directly to Julius AI for analysis.
Key Variables
| Column | Description |
|---|---|
| YearStart / YearEnd | Reporting period for each indicator record |
| LocationAbbr / LocationDesc | State or territory abbreviation and full name |
| Topic | Chronic disease category (e.g., Diabetes, Asthma, Cardiovascular Disease, Mental Health) |
| Question | Specific indicator measured (e.g., “Invasive cancer, all sites”) |
| DataValueType | Type of measure (age-adjusted prevalence, crude rate, number, etc.) |
| DataValue | The reported numeric value for the indicator |
| Stratification1 | Demographic breakdown (race/ethnicity, gender, overall) |
| DataSource | Surveillance system (BRFSS, NVSS, etc.) |
Data Characteristics
The dataset covers chronic disease indicators from the Behavioral Risk Factor Surveillance System (BRFSS), National Vital Statistics System (NVSS), and other CDC surveillance programs. Records are stratified by state, year, demographic group, and data value type — enabling multi-dimensional public health analysis. Julius AI automatically detected column types and handled the 96 MB file upon upload.
Analysis 1 — Diabetes Prevalence: California vs. Texas
Question
How has the prevalence of diabetes changed in California vs. Texas over the last 5 years?
Prompt Used
“How has the prevalence of ‘Diabetes’ changed in California vs. Texas over the last 5 years?”
Results
Julius AI filtered the CDI dataset for diabetes prevalence records in California and Texas, extracted age-adjusted rates from 2019 to 2022, and produced a comparative line chart. The platform automatically handled data filtering, aggregation, and visualization formatting from a single conversational prompt.
Insights
- Texas consistently higher: Texas maintained a higher age-adjusted diabetes prevalence than California across all four years, ranging from approximately 11.2% to 13.4% compared to California’s 9.3% to 10.9%.
- Upward trend in both states: Both states showed an overall upward trend in diabetes prevalence from 2019 to 2022, with California rising from approximately 9.5% to 10.7% and Texas spiking to 13.4% by 2022.
- Texas 2021 dip then sharp rise: Texas experienced a temporary decline to approximately 11.2% in 2021 before surging to its highest recorded value of 13.4% in 2022 — potentially reflecting delayed reporting effects or post-pandemic diagnostic catch-up.
- Persistent 2–3 point gap: The prevalence gap between the two states remained consistently in the 2–3 percentage point range, suggesting structural differences in population health risk factors, demographics, or healthcare access.
Analysis 2 — Asthma Prevalence by Race/Ethnicity
Question
Which racial/ethnic groups are disproportionately affected by asthma?
Prompt Used
“Break down ‘Asthma’ prevalence by Race/Ethnicity. Which groups are disproportionately affected?”
Results
Julius AI filtered the dataset for asthma prevalence by racial/ethnic stratification, aggregated median rates across states using the most recent available year per state, and produced a ranked summary table. The platform handled the grouping, median calculation, and sorting automatically.
Insights
- Multiracial non-Hispanic highest: The Multiracial, non-Hispanic group reported the highest asthma prevalence rate at 15.6%, more than 50% above the White, non-Hispanic rate of 10.1%.
- American Indian/Alaska Native elevated: American Indian or Alaska Native, non-Hispanic populations showed the second-highest rate at 12.6%, consistent with known environmental and socioeconomic risk factors in these communities.
- Black non-Hispanic disproportionately affected: At 11.9%, the Black, non-Hispanic rate was notably above the overall average, aligning with established research on asthma disparities linked to environmental exposures and healthcare access inequities.
- Asian non-Hispanic lowest: The Asian, non-Hispanic group had the lowest reported rate at 1.0%, a significant gap from all other groups that may reflect both biological factors and potential data reporting differences.
- Hispanic below average: The Hispanic population reported an 8.3% rate, below the White non-Hispanic rate, though this figure may mask heterogeneity across Hispanic subpopulations.
Analysis 3 — Physical Inactivity vs. Cardiovascular Disease Mortality
Question
Is there a correlation between states with high physical inactivity and states with high cardiovascular disease mortality?
Prompt Used
“Is there a correlation between states with high ‘Physical Inactivity’ and states with high ‘Cardiovascular Disease’ mortality? Make a scatter plot with a regression line with physical inactivity plotted on the x axis and cardiovascular disease plotted on the y axes and each point being a state.”
Results
Julius AI extracted physical inactivity rates and cardiovascular disease mortality rates for each state, merged the datasets, computed correlation statistics, and generated a scatter plot with a regression line — including Pearson r, R², and p-value annotations directly on the chart.
Insights
- Strong positive correlation: A Pearson correlation coefficient of r = 0.721 indicates a strong positive relationship between state-level physical inactivity and cardiovascular disease mortality.
- Statistically significant: With p < 0.001, the relationship is highly statistically significant, meaning it is extremely unlikely to be due to chance.
- 52% of variance explained: The R² value of 0.52 means that physical inactivity alone explains over half of the state-to-state variation in cardiovascular disease mortality rates — a substantial effect for a single predictor in population-level health data.
- Policy implications: States with physical inactivity rates above 28% of adults tended to cluster at the highest cardiovascular mortality levels (220–260 per 100,000), suggesting that public health interventions targeting sedentary behavior could meaningfully reduce cardiovascular deaths.
- Clear gradient: The scatter plot shows a clear upward gradient from states with ~16% inactivity and ~130 deaths per 100,000 to states with ~30% inactivity and ~240 deaths per 100,000, reinforcing the dose-response nature of the relationship.
Analysis 4 — Mental Health Distress: Males vs. Females
Question
How do rates of frequent mental distress compare between men and women across the top 10 most populous states?
Prompt Used
“Compare the rates of ‘Frequent Mental Distress’ between men and women across the top 10 most populous states.”
Results
Julius AI identified the top 10 states by data record volume, filtered for frequent mental distress indicators stratified by gender for 2022, and produced a grouped bar chart with labeled percentages for each state. The platform handled the multi-step filtering, grouping, and visualization in a single conversation flow.
Insights
- Females consistently higher: In every state analyzed, females reported higher rates of frequent mental distress than males, with gaps ranging from approximately 4 to 9.5 percentage points.
- Tennessee had the highest rates: Tennessee reported the highest rates for both genders — 15.4% for males and 24.9% for females — with nearly one in four women experiencing frequent mental distress.
- Largest gender gap in Tennessee: The 9.5 percentage point gap between males (15.4%) and females (24.9%) in Tennessee was the widest observed, pointing to potential gender-specific stressors or reporting differences.
- Geographic variation: Southern states (Tennessee, Arkansas, Alabama, Missouri) tended to report higher rates for both genders compared to states like Nebraska, Minnesota, and Massachusetts — consistent with known regional patterns in mental health outcomes and healthcare access.
- Nebraska lowest overall: Nebraska had the lowest rates at 8.6% (male) and 15.7% (female), yet still showed the same female-exceeds-male pattern, suggesting the gender disparity in mental distress is consistent regardless of baseline prevalence.
Analysis 5 — Cigarette Smoking by Race/Ethnicity
Question
How does current cigarette smoking prevalence vary among different racial/ethnic groups?
Prompt Used
“Visualize the disparity in ‘Current Cigarette Smoking’ among different race/ethnicity categories for the year 2021.”
Results
Julius AI filtered the CDI dataset for current cigarette smoking indicators in 2021, stratified by race/ethnicity, extracted age-adjusted prevalence rates, and generated a horizontal bar chart ranked from highest to lowest. The platform correctly identified the relevant records from the 96 MB dataset and produced a publication-ready visualization.
Insights
- American Indian/Alaska Native highest: At 27.1%, the American Indian or Alaska Native, non-Hispanic population had the highest smoking prevalence — more than 2.6 times the rate of Hispanic adults (10.4%). This stark disparity underscores longstanding health inequities affecting Indigenous communities.
- Multiracial non-Hispanic second highest: The Multiracial, non-Hispanic group reported a 19.3% smoking rate, significantly above the national overall rate, suggesting compounding risk factors across multiple demographic dimensions.
- Black and White rates similar: Black, non-Hispanic (15.7%) and White, non-Hispanic (15.0%) adults had similar smoking prevalence, though the health impacts may differ due to other co-occurring risk factors and disparities in healthcare access.
- Hispanic adults lowest: At 10.4%, Hispanic adults had the lowest cigarette smoking rate among all groups measured — a pattern sometimes referred to as the “Hispanic health paradox” in epidemiological literature.
- Targeted interventions needed: The nearly 17 percentage point gap between the highest and lowest groups (27.1% vs. 10.4%) highlights the need for culturally tailored tobacco cessation programs rather than one-size-fits-all public health approaches.
Analysis 6 — National Obesity Trend
Question
What is the national trend in adult obesity prevalence over time?
Prompt Used
“Plot the trend of ‘Obesity among adults’ from the earliest available year to the latest for the entire United States.”
Results
Julius AI filtered the CDI dataset for national-level (“United States”) obesity among adults indicators, aggregated the data by year, and generated a time series line chart showing obesity prevalence from 2019 to 2022. The platform handled date extraction, aggregation, and chart formatting from a single natural language prompt.
Insights
- 2021 peak: Adult obesity prevalence in the United States peaked at approximately 34.9% in 2021, up from 33.5% in 2020 — likely reflecting the impact of pandemic-era lifestyle disruptions including reduced physical activity, increased sedentary behavior, and dietary changes.
- 2022 decline: Prevalence dropped back to approximately 33.5% in 2022, returning to near pre-pandemic levels. This partial reversal may indicate a return to normal activity patterns as pandemic restrictions eased.
- Narrow range, high baseline: The entire range spans only about 1.4 percentage points (33.5% to 34.9%), but the baseline itself is alarming — one in three American adults qualified as obese throughout the entire period.
- Pandemic disruption visible: The pattern of a slight dip in 2020, sharp rise in 2021, and partial recovery in 2022 mirrors the timeline of COVID-19 lockdowns and reopening, consistent with research linking the pandemic to weight gain at the population level.
- No sustained improvement: Despite the 2022 decline, there is no evidence of a sustained downward trend — prevalence in 2022 (~33.5%) remained essentially unchanged from 2019 (~33.6%), suggesting that existing public health interventions have not yet reversed the obesity epidemic.
Key Findings & Recommendations
Key Findings
- Chronic disease burden varies significantly by state: Diabetes prevalence in Texas (13.4%) was consistently 2–3 percentage points higher than in California (10.7%), reflecting differences in demographics, lifestyle factors, and healthcare infrastructure.
- Racial and ethnic disparities are pervasive: Both asthma and tobacco use showed stark disparities, with American Indian/Alaska Native and Multiracial populations bearing disproportionate burden across multiple chronic disease categories.
- Physical inactivity is a powerful predictor: The strong correlation (r = 0.721) between physical inactivity and cardiovascular mortality across states suggests that population-level exercise promotion could meaningfully reduce heart disease deaths.
- Mental health distress disproportionately affects women: Females reported higher rates of frequent mental distress in every state examined, with the gap widest in Southern states — indicating a need for gender-responsive mental health services.
- Obesity remains stubbornly high: National obesity prevalence hovered around 33–35% with no meaningful downward trend, reinforcing that the obesity epidemic requires sustained, multi-sector intervention.
- AI-assisted analysis is viable for large public health datasets: Julius AI successfully queried, filtered, and visualized a 96 MB dataset with hundreds of thousands of records entirely through natural language prompts.
Recommendations
- Target high-burden states: States like Texas (diabetes) and Tennessee (mental health distress) should be prioritized for federal chronic disease prevention funding and tailored intervention programs.
- Address racial/ethnic disparities: Culturally tailored public health programs are needed — particularly for American Indian/Alaska Native communities, which showed the highest rates in both asthma and tobacco use.
- Promote physical activity at scale: Given the strong inactivity-cardiovascular mortality link, investment in walkable infrastructure, community exercise programs, and workplace wellness initiatives could yield outsized public health returns.
- Expand gender-responsive mental health services: The consistent female-exceeds-male pattern in mental distress warrants expanded access to women’s mental health services, especially in high-prevalence Southern states.
- Use AI tools for rapid surveillance: Public health agencies can leverage platforms like Julius AI for rapid initial exploration of surveillance data, accelerating hypothesis generation before committing to formal statistical analyses.
Julius AI — Tool Evaluation
What Worked Well
- Handled large datasets: Julius AI successfully loaded and queried a 96 MB CSV file with hundreds of thousands of rows — performing filtering, aggregation, and visualization without performance issues.
- Speed of exploration: All six analyses were completed through simple conversational prompts, with each producing results in under a minute — tasks that would typically require 30–60 minutes of manual Python coding.
- Automatic visualization: Julius AI generated well-formatted charts with appropriate scales, labels, legends, and annotations (including statistical values on the scatter plot) without manual styling.
- Statistical awareness: The platform correctly computed Pearson correlation, R², and p-values when prompted, and applied appropriate data transformations (age-adjusted rates, median aggregation, group comparisons).
- Iterative refinement: Follow-up prompts allowed rapid iteration — adjusting chart types, adding annotations, or drilling into subsets without rewriting code.
Limitations Observed
- Black-box methodology: While Julius AI shows the Python code it generates, users must verify the statistical approach is appropriate for their data and question.
- Prompt sensitivity: Results varied based on how questions were phrased — more specific prompts (e.g., specifying axes and chart type) produced more reliable and targeted outputs.
- Reproducibility: Exact outputs may vary between sessions, making traditional scripted workflows preferable for production-grade analysis or regulatory reporting.
- Data interpretation required: Julius AI produces the numbers and charts, but domain expertise is still needed to contextualize findings within the broader public health landscape.
When to Use Julius AI
| Use Case | Suitability |
|---|---|
| Initial data profiling & EDA on large datasets | Excellent |
| Quick hypothesis testing with visualizations | Good |
| Generating presentation-ready charts | Good |
| Exploring unfamiliar datasets through conversation | Excellent |
| Production data pipelines | Not recommended |
| Highly regulated or reproducible analysis | Not recommended |