This project visualizes data from the Current Population Survey (CPS) using Streamlit, Altair, and Plotly. The visualizations provide insights into employment status, education level, and age distribution across different demographics in the United States.
- Education Level by Sex
-
Clone the repository:
git clone https://github.com/digitalherencia/CensusDataVisualizationDemo.git cd CensusDataVisualizationDemo
-
Set up the virtual environment:
python3 -m venv .venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate pip install -r scripts/requirements.txt
-
Run the application:
streamlit run scripts/app.py
The app fetches the latest CPS data, preprocesses it, and generates interactive visualizations. Open the app in your browser and explore the various charts and graphs to gain insights into the employment and education statistics.
This Plotly box plot shows the distribution of ages for different employment statuses. Hover over the boxes to see detailed statistics.
This Altair chart shows the education level distribution by sex. Hover over the bars to see details.
This heatmap shows the density of different age groups within each employment status, split by sex.
This project is licensed under the GPLv3.
For any inquiries or feedback, please contact digitalherencia@outlook.com.