transport-crimes-london is a self-serving Python dashboard generated using plotly and dash to visualise the reported crimes at different modes of transportation in Transport for London (TfL).
- Python 3.11+
- pandas
- numpy
- dash
- dash_bootstrap_components
- refer to requirements.txt or pyproject.toml
Create and activate a virtual environment:
python3 -m venv .venv
source .venv/bin/activateClone and install locally:
git clone https://github.com/daa2618/transport-crimes-london.git
cd transport-crimes-london
pip install .Or install directly using pip (once published on PyPI):
pip install transport-crimes-londonHere’s how to run the dashboard on a localserver:
python app.pyRunning this should show the dashboard like this
Contributions welcome! You can help by:
- Submitting bug reports or feature requests via Issues
- Improving documentation
- Writing tests or fixing bugs
Please open a PR or reach out via GitHub Issues.
This project is licensed under the MIT License.
