An interactive dashboard exploring the connection between gut bacteria and mental health conditions.
Gut-Brain Explorer is a data-driven web application that visualizes research findings from the gut-brain axis literature. It demonstrates how gut microbiome composition correlates with various mental health conditions, and how diet influences these microbial communities.
- Bacteria-Condition Explorer: Interactive chart showing which gut bacteria are associated with depression, anxiety, stress, cognitive function, and other conditions
- Key Species Profiles: Detailed cards on the most researched psychobiotics
- Diet & Microbiome: Visualizations of how dietary patterns affect gut bacteria
Python Scripts (Data Ops) → JSON Files → Static Frontend
↓ ↓ ↓
- Fetch PubMed data - bacteria_conditions.json - HTML/CSS/JS
- Process BugSigDB - gut_brain_species.json - Chart.js visualizations
- Curate diet associations - diet_microbiome.json - Interactive filters
python scripts/data_pipeline.pyThis fetches and processes data from public sources into clean JSON files.
Open index.html in a web browser, or start a local server:
# Python 3
python -m http.server 8000
# Then open http://localhost:8000- Push to GitHub
- Go to Settings → Pages
- Select source branch (main) and root folder
- Your dashboard will be live at
https://username.github.io/repository-name
All data is manually curated from peer-reviewed sources:
-
BugSigDB-Inspired Curation
- Associations manually curated based on entries in BugSigDB (bugsigdb.org)
- Each association includes PubMed IDs for verification
- Note: This is not a live API integration
-
PubMed E-utilities API
- Fetches recent gut-brain axis research papers
- Used for the "Recent Papers" feature
-
Review Literature
- Diet-microbiome relationships from meta-analyses
- All references cited with PMIDs
- Associations are manually curated from peer-reviewed studies
- "Study count" represents an estimated number of supporting studies, not an exhaustive count
- Effect direction (depleted/enriched/varied) based on consensus across cited studies
- All claims are linked to PubMed IDs for verification
- This is an educational demonstration, not a comprehensive meta-analysis
- Study counts are estimates and may not reflect all published research
- Associations may vary by bacterial strain, study population, and methodology
gut-brain-explorer/
├── index.html # Main dashboard page
├── css/
│ └── style.css # Styling
├── js/
│ └── app.js # Chart rendering & interactivity
├── data/
│ ├── bacteria_conditions.json # Bacteria ↔ condition mappings
│ ├── gut_brain_species.json # Key species profiles
│ └── diet_microbiome.json # Diet ↔ bacteria relationships
├── scripts/
│ └── data_pipeline.py # Data fetching & processing
└── README.md
The Python script (scripts/data_pipeline.py) demonstrates ETL skills:
- Extract: Fetches data from PubMed API and processes curated datasets
- Transform: Normalizes bacteria names, aggregates study counts, categorizes effects
- Load: Outputs clean JSON ready for visualization
Built with minimal dependencies for easy deployment:
- Pure HTML/CSS/JavaScript
- Chart.js for interactive visualizations
- Responsive design for mobile/desktop
- Data Engineering: Pipeline aggregates and normalizes microbiome research data from multiple sources
- Domain Knowledge: Focus on GABA-producing bacteria (Lactobacillus), butyrate producers (Faecalibacterium), and their mental health connections
- Accessibility: Making complex research accessible to non-experts aligns with the goal of creating tools for everyone
This dashboard is for educational purposes only. The associations shown represent research findings and should not be interpreted as medical advice. Always consult healthcare professionals for health decisions.
MIT License - feel free to use, modify, and share.