{"id":50570565,"url":"https://github.com/mlucifer27/bilateral-visualization","last_synced_at":"2026-06-04T18:01:08.962Z","repository":{"id":303303140,"uuid":"1015025771","full_name":"mlucifer27/bilateral-visualization","owner":"mlucifer27","description":"Streamlit app visualizes bilateral relationship scores between 100 countries from 1945 to 2024. It supports interactive heatmaps, network graphs, pairwise comparisons, and more.","archived":false,"fork":false,"pushed_at":"2025-07-06T21:55:34.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-06T22:35:05.615Z","etag":null,"topics":["d3blocks","data-analysis","data-visualization","plotly-python","python","streamlit"],"latest_commit_sha":null,"homepage":"https://bilateral-visualization.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlucifer27.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-06T21:44:34.000Z","updated_at":"2025-07-06T21:56:51.000Z","dependencies_parsed_at":"2025-07-06T22:47:11.483Z","dependency_job_id":null,"html_url":"https://github.com/mlucifer27/bilateral-visualization","commit_stats":null,"previous_names":["mlucifer27/bilateral-visualization"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mlucifer27/bilateral-visualization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlucifer27%2Fbilateral-visualization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlucifer27%2Fbilateral-visualization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlucifer27%2Fbilateral-visualization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlucifer27%2Fbilateral-visualization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlucifer27","download_url":"https://codeload.github.com/mlucifer27/bilateral-visualization/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlucifer27%2Fbilateral-visualization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33916320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["d3blocks","data-analysis","data-visualization","plotly-python","python","streamlit"],"created_at":"2026-06-04T18:01:07.915Z","updated_at":"2026-06-04T18:01:08.954Z","avatar_url":"https://github.com/mlucifer27.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bilateral Relationship Visualization\n\nThis Streamlit app visualizes bilateral relationship scores between 100 countries from 1945 to 2024. It supports interactive heatmaps, network graphs, pairwise comparisons, and more.\n\n## Features\n\n- Heatmap of country-to-country relationships (overall, economic, political, security, cultural)\n- Interactive tooltips and details on hover/click\n- Year slider to explore changes over time\n- Top-N strongest/weakest relationships\n- Country relationship distribution (histogram, boxplot, summary stats)\n- Country-to-network graph\n- Pairwise comparison (table and line charts)\n- Modular, efficient, and optimized for performance\n\n## Screenshots\n\n![Main Dashboard](images/1.png)\n\n![Interactive Heatmap](images/2.png)\n\n![Relationship Analysis](images/3.png)\n\n![Network Graph](images/4.png)\n\n![Pairwise Comparison](images/5.png)\n\n![Distribution Analysis](images/6.png)\n\n![Top Relationships](images/7.png)\n\n![Country Details](images/8.png)\n\n## Data\n\n- `data/overall.csv`: Main dataset. Columns: `year`, `country1`, `country2`, `overall`, `economic`, `political`, `security`, `cultural`\n- `data/countries.txt`: List of country names (one per line)\n\n## Getting Started\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/mlucifer27/bilateral-visualization.git\ncd bilateral-visualization\n```\n\n### 2. Install dependencies\n\nIt is recommended to use a virtual environment.\n\n```bash\npip install -r requirements.txt\n```\n\n### 3. Run the app\n\n```bash\nstreamlit run app.py\n```\n\nThe app will open in your browser at `http://localhost:8501`.\n\n## Deployment\n\n### Streamlit Community Cloud\n\n1. Push your code (including data files) to GitHub.\n2. Go to [https://streamlit.io/cloud](https://streamlit.io/cloud) and sign in with GitHub.\n3. Click \"New app\", select your repo, branch, and `app.py`.\n4. Click \"Deploy\". Your app will be live at a public URL.\n\n### Notes\n\n- Ensure `data/overall.csv` and `data/countries.txt` are present in the repo for deployment.\n- For large/private data, consider using cloud storage and loading data at runtime.\n- For secrets, use Streamlit's [secrets management](https://docs.streamlit.io/streamlit-community-cloud/deploy-your-app/secrets-management).\n\n## Customization\n\n- All key parameters (year range, colormap, figure size, etc.) are modularized in the code for easy adjustment.\n- The app is structured for easy extension and optimization.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlucifer27%2Fbilateral-visualization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlucifer27%2Fbilateral-visualization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlucifer27%2Fbilateral-visualization/lists"}