Interactive data visualization dashboard built with Python Dash to explore regional sales trends and answer a business question:
Were sales higher before or after the Pink Morsel price increase on Jan 15, 2021?
- Data cleaning & transformation with Pandas
- Interactive line chart using Plotly
- Region filtering via radio buttons
- Styled responsive UI
- Automated UI testing with Pytest + Dash Testing
- Python 3.9
- Dash
- Plotly
- Pandas
- Pytest
- Selenium (Dash testing)
git clone https://github.com/swati048/quantium-starter-repo.git
cd quantium-starter-repopython -m venv venv
venv\Scripts\activatepip install -r requirements.txtpython app.pyVisit:
http://127.0.0.1:8050
pytest#Run automated tests via:
./run_tests.shThis project uses GitHub Actions for automated Continuous Integration.
Every time code is pushed or a pull request is opened against main, the workflow defined in:
.github/workflows/ci.yml
runs automatically to ensure the application remains stable.
1️⃣ Checks out the repository 2️⃣ Sets up Python 3.9 3️⃣ Installs project dependencies 4️⃣ Installs Chrome for browser-based Dash testing 5️⃣ Installs ChromeDriver automatically 6️⃣ Runs the full Pytest test suite
If all tests pass ✔️ → build succeeds If any test fails ❌ → build fails immediately
This ensures:
- UI components remain functional
- Dashboard doesn’t break after changes
- Regressions are caught early
- Industry-standard development workflow
# This command finds the driver path and adds it to your current session
$env:PATH += ";$(python -c 'from webdriver_manager.chrome import ChromeDriverManager; print(ChromeDriverManager().install())' | Split-Path)"From the visualization, sales trends before and after the price change can be compared interactively by region, enabling data-driven decision making.
Swati Thakur
- GitHub: @swati048
- LinkedIn: Swati Thakur
- Email: thakurswati048@gmail.com
⭐ Star this repository if you found it helpful! ⭐
Made with ❤️ and 🐍 Python
