# h33t3j/data_viz architecture

> Architecture diagram of the GitHub repository h33t3j/data_viz, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/h33t3j/data_viz
- Repository: https://github.com/h33t3j/data_viz

## Overview

This repository contains two standalone country-indicator EDA scripts: one cleans a World Indicators CSV and displays static analyses; the other prepares Gapminder data and writes interactive Plotly charts. The README is empty, and the map reflects the supplied source only; no shared application or orchestration layer is evident.

Main entry points: [`eda.py`](https://github.com/h33t3j/data_viz/blob/main/eda.py) (Run EDA), [`finals_tests.py`](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py) (Interactive analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_static["Static EDA"]
  node_eda_entry["Run EDA<br/>[eda.py]"]
  node_eda_clean["Clean data<br/>[eda.py]"]
  node_eda_summary["Data summary<br/>[eda.py]"]
  node_eda_relations["Wealth, health, business<br/>[eda.py]"]
  node_eda_correlation["Correlation analysis<br/>[eda.py]"]
  node_eda_regions["Regional disparities<br/>[eda.py]"]
  node_eda_health["Health spending<br/>[eda.py]"]
  node_eda_modernization["Urbanization, internet<br/>[eda.py]"]
  node_eda_tax["Tax, startup time<br/>[eda.py]"]
end

subgraph group_interactive["Interactive EDA"]
  node_interactive_entry["Interactive analysis<br/>[finals_tests.py]"]
  node_gap_clean["Coerce and fill<br/>[finals_tests.py]"]
  node_gap_animation["Animated GDP, life<br/>[finals_tests.py]"]
  node_gap_map["CO2 choropleth<br/>[finals_tests.py]"]
  node_gap_hdi["HDI distribution<br/>[finals_tests.py]"]
  node_gap_sunburst["GDP sunburst<br/>[finals_tests.py]"]
  node_gap_trend["Life expectancy trend<br/>[finals_tests.py]"]
  node_gap_3d["3D development view<br/>[finals_tests.py]"]
  node_gap_rank["Animated HDI ranking<br/>[finals_tests.py]"]
end

node_analyst(("Analyst"))
node_world_csv["World Indicators CSV"]
node_gap_csv["Gapminder CSV"]
node_static_plots(("Displayed plots"))
node_html_files["HTML chart files"]

node_analyst -->|"runs"| node_eda_entry
node_world_csv -->|"read by"| node_eda_entry
node_eda_entry -->|"cleans via"| node_eda_clean
node_eda_entry -->|"prints"| node_eda_summary
node_eda_entry -->|"plots"| node_eda_relations
node_eda_entry -->|"computes and plots"| node_eda_correlation
node_eda_entry -->|"plots"| node_eda_regions
node_eda_entry -->|"plots"| node_eda_health
node_eda_entry -->|"plots"| node_eda_modernization
node_eda_entry -->|"plots"| node_eda_tax
node_eda_entry -->|"displays"| node_static_plots
node_analyst -->|"runs script"| node_interactive_entry
node_gap_csv -->|"read by"| node_interactive_entry
node_interactive_entry -->|"prepares data"| node_gap_clean
node_interactive_entry -->|"creates"| node_gap_animation
node_interactive_entry -->|"creates"| node_gap_map
node_interactive_entry -->|"creates"| node_gap_hdi
node_interactive_entry -->|"creates"| node_gap_sunburst
node_interactive_entry -->|"creates"| node_gap_trend
node_interactive_entry -->|"creates"| node_gap_3d
node_interactive_entry -->|"creates"| node_gap_rank
node_gap_animation -->|"writes"| node_html_files
node_gap_map -->|"writes"| node_html_files
node_gap_hdi -->|"writes"| node_html_files
node_gap_sunburst -->|"writes"| node_html_files
node_gap_trend -->|"writes"| node_html_files
node_gap_3d -->|"writes"| node_html_files
node_gap_rank -->|"writes"| node_html_files

click node_eda_entry "https://github.com/h33t3j/data_viz/blob/main/eda.py"
click node_eda_clean "https://github.com/h33t3j/data_viz/blob/main/eda.py"
click node_eda_summary "https://github.com/h33t3j/data_viz/blob/main/eda.py"
click node_eda_relations "https://github.com/h33t3j/data_viz/blob/main/eda.py"
click node_eda_correlation "https://github.com/h33t3j/data_viz/blob/main/eda.py"
click node_eda_regions "https://github.com/h33t3j/data_viz/blob/main/eda.py"
click node_eda_health "https://github.com/h33t3j/data_viz/blob/main/eda.py"
click node_eda_modernization "https://github.com/h33t3j/data_viz/blob/main/eda.py"
click node_eda_tax "https://github.com/h33t3j/data_viz/blob/main/eda.py"
click node_interactive_entry "https://github.com/h33t3j/data_viz/blob/main/finals_tests.py"
click node_gap_clean "https://github.com/h33t3j/data_viz/blob/main/finals_tests.py"
click node_gap_animation "https://github.com/h33t3j/data_viz/blob/main/finals_tests.py"
click node_gap_map "https://github.com/h33t3j/data_viz/blob/main/finals_tests.py"
click node_gap_hdi "https://github.com/h33t3j/data_viz/blob/main/finals_tests.py"
click node_gap_sunburst "https://github.com/h33t3j/data_viz/blob/main/finals_tests.py"
click node_gap_trend "https://github.com/h33t3j/data_viz/blob/main/finals_tests.py"
click node_gap_3d "https://github.com/h33t3j/data_viz/blob/main/finals_tests.py"
click node_gap_rank "https://github.com/h33t3j/data_viz/blob/main/finals_tests.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_eda_entry,node_eda_clean,node_eda_summary,node_eda_relations,node_eda_correlation,node_eda_regions,node_eda_health,node_eda_modernization,node_eda_tax toneBlue
class node_interactive_entry,node_gap_clean,node_gap_animation,node_gap_map,node_gap_hdi,node_gap_sunburst,node_gap_trend,node_gap_3d,node_gap_rank toneAmber
class node_analyst,node_world_csv,node_gap_csv,node_static_plots,node_html_files toneIndigo
```

## Components

### Static EDA

- [Run EDA](https://github.com/h33t3j/data_viz/blob/main/eda.py): `eda.py`
- [Clean data](https://github.com/h33t3j/data_viz/blob/main/eda.py): `eda.py`
- [Data summary](https://github.com/h33t3j/data_viz/blob/main/eda.py): `eda.py`
- [Wealth, health, business](https://github.com/h33t3j/data_viz/blob/main/eda.py): `eda.py`
- [Correlation analysis](https://github.com/h33t3j/data_viz/blob/main/eda.py): `eda.py`
- [Regional disparities](https://github.com/h33t3j/data_viz/blob/main/eda.py): `eda.py`
- [Health spending](https://github.com/h33t3j/data_viz/blob/main/eda.py): `eda.py`
- [Urbanization, internet](https://github.com/h33t3j/data_viz/blob/main/eda.py): `eda.py`
- [Tax, startup time](https://github.com/h33t3j/data_viz/blob/main/eda.py): `eda.py`

### Interactive EDA

- [Interactive analysis](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py): `finals_tests.py`
- [Coerce and fill](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py): `finals_tests.py`
- [Animated GDP, life](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py): `finals_tests.py`
- [CO2 choropleth](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py): `finals_tests.py`
- [HDI distribution](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py): `finals_tests.py`
- [GDP sunburst](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py): `finals_tests.py`
- [Life expectancy trend](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py): `finals_tests.py`
- [3D development view](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py): `finals_tests.py`
- [Animated HDI ranking](https://github.com/h33t3j/data_viz/blob/main/finals_tests.py): `finals_tests.py`

### Other components

- **Analyst**
- **World Indicators CSV**
- **Gapminder CSV**
- **Displayed plots**
- **HTML chart files**

## Connections

- Analyst → Run EDA: runs
- World Indicators CSV → Run EDA: read by
- Run EDA → Clean data: cleans via
- Run EDA → Data summary: prints
- Run EDA → Wealth, health, business: plots
- Run EDA → Correlation analysis: computes and plots
- Run EDA → Regional disparities: plots
- Run EDA → Health spending: plots
- Run EDA → Urbanization, internet: plots
- Run EDA → Tax, startup time: plots
- Run EDA → Displayed plots: displays
- Analyst → Interactive analysis: runs script
- Gapminder CSV → Interactive analysis: read by
- Interactive analysis → Coerce and fill: prepares data
- Interactive analysis → Animated GDP, life: creates
- Interactive analysis → CO2 choropleth: creates
- Interactive analysis → HDI distribution: creates
- Interactive analysis → GDP sunburst: creates
- Interactive analysis → Life expectancy trend: creates
- Interactive analysis → 3D development view: creates
- Interactive analysis → Animated HDI ranking: creates
- Animated GDP, life → HTML chart files: writes
- CO2 choropleth → HTML chart files: writes
- HDI distribution → HTML chart files: writes
- GDP sunburst → HTML chart files: writes
- Life expectancy trend → HTML chart files: writes
- 3D development view → HTML chart files: writes
- Animated HDI ranking → HTML chart files: writes
