__
.----.
__ __|| ||__
| |_____| ||__|| |
|__|_____|__|| ||__|
(o) (o)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Team Tres Sigmas | Course: 4CSE (Computer Science) | Subject: DataViz-E 1
|
The project explores historical trends in the U.S. automotive industry (1975–2024) using data from the U.S. Environmental Protection Agency (EPA). By utilizing advanced data visualization techniques, we analyze the progression of fuel economy, CO2 emissions, and the adoption of cleaner vehicle technologies.
The analysis aims to address specific policy questions aligned with the United Nations Sustainable Development Goals:
⚡ SDG 7 (Affordable and Clean Energy): Examining real-world fuel economy improvements and the shift toward alternative fuel vehicles.
🌍 SDG 13 (Climate Action): Analyzing carbon dioxide CO2 emission reductions and the impact of vehicle weight/horsepower trade-offs on environmental goals.
Note
The project follows a linear data pipeline structure. The comprehensive analysis and final conclusions can be found in the Final Report.
📦 Advancing-Sustainable-Mobility
┣ 📂 Datasets
┃ ┣ 📜 A-Detailed-Real-World-Fuel-Economy-Raw-Dataset.csv # [SOURCE] Original Raw EPA Data
┃ ┣ 📜 Output - TresSigmas - DataCleaning.csv # [OUTPUT 1] Cleaned Data (0 Imputation)
┃ ┣ 📜 Output_TresSigmas_Rev2_CSV.csv # [OUTPUT 2] Cleaned Data (Revised)
┃ ┗ 📜 TresSigmas_DataClean_HuliNa.csv # [OUTPUT 3] Final Cleaned Data (Avg Imputation)
┃
┣ 📂 Visualizations
┃ ┣ 📜 TresSigmas_Proposal_Visualization_v1.ipynb # Python Analysis (Baseline Code)
┃ ┗ 📜 TresSigmas_Proposal_Visualization_v2.ipynb # Python Analysis (Refined Code)
┃
┣ 📜 DataCleaning - TresSigmas.tfl # [PIPELINE] Tableau Prep Builder Flow
┣ 📜 TresSigmas_Final Course Project_FinalReport.pdf # [FINAL] Full Project Report (Methodology, Visuals, Conclusion)
┗ 📜 TresSigmas_4CSE_DataViz-E 1_CourseProjectProposal_Final.pdf # Project Proposal & Literature Review
Our methodology consists of two distinct phases: Data Cleaning and Imputation Strategy. The setup instructions below mirror this workflow.
🧹 Phase 1: Data Cleaning (ETL)
- Tool Used: Tableau Prep Builder (
DataCleaning - TresSigmas.tfl) - Process:
- Ingestion of
A-Detailed-Real-World-Fuel-Economy-Raw-Dataset.csv. - Standardization of string formats (e.g., manufacturer names).
- Handling of null values (see Phase 2).
- Ingestion of
📈 Phase 2: Imputation & Visualization Strategy
We utilized two different analytical approaches to handle missing performance data (e.g., missing specific metrics for older car models).
| Version | Methodology | Dataset Used | Purpose |
|---|---|---|---|
| V1 (Baseline) | Zero (0) Imputation: Missing numerical values replaced with 0. | Output - TresSigmas - DataCleaning.csv |
Initial Exploratory Data Analysis (EDA) and distribution checks. |
| V2 (Refined) | Average Imputation: Missing values replaced with column/category averages. | TresSigmas_DataClean_HuliNa.csv |
Statistical analysis minimizing skew; used for Heatmaps, Treemaps, and Dual Axis charts. |
Based on the visualizations generated in the TresSigmas_Final Course Project_FinalReport.pdf, the study concluded:
🎭 The "Masking Effect": While internal combustion engine technology has improved, gains are largely negated by a consistent increase in vehicle weight and horsepower since 1975.
🚘 Segment Disparity: Sedans/Wagons remain the most efficient vehicle types, while Truck SUVs and Pickups consistently rank lowest in fuel economy.
🏭 Production vs. Pollution: A Treemap analysis revealed that manufacturers with the highest production volumes (e.g., GM, Stellantis) also exhibit high CO2 emission intensities due to fleet compositions dominated by heavier vehicles.
⚖️ SDG Implications: The market shift toward heavier vehicles creates a critical barrier to achieving SDG 7 (Energy Efficiency) and SDG 13 (Climate Action).
Follow these steps to reproduce the analysis in the correct methodological order.
- Tableau Prep Builder (for the ETL pipeline)
- Tableau Desktop (for Dashboards)
- Python 3.x with Jupyter Notebook (Optional, for
.ipynbanalysis)- Libraries:
pandas,numpy,matplotlib,seaborn,plotly
- Libraries:
To see how the raw data was processed:
- Open Tableau Prep Builder.
- Load the file
DataCleaning - TresSigmas.tflxusing Tableau Prep Builder. - Note: If the file shows a connection error, right-click the "Input" node and locate
Datasets/A-Detailed-Real-World-Fuel-Economy-Raw-Dataset.csvon your local machine. - Run the flow to generate the output CSVs (optional, as they are already provided in the
Datasetsfolder).
To view the final dashboards:
- Navigate to the
Visualizationsfolder. - Open
TresSigmas_Proposal_Visualization_v1.ipynborTresSigmas_Proposal_Visualization_v2.ipynbin Jupyter Notebook or Google Colab. - Run all cells to generate the correlation heatmaps and statistical summaries.