Skip to content

The python code implementation for Improving Visualization Techniques for Analyzing Commuting Patterns Across U.S. States

License

Notifications You must be signed in to change notification settings

ziraddingulumjanly/Rhw1_Improving-Visualization-Techniques-for-Analyzing-Commuting-Patterns-Across-U.S.-States

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYTHON IMPLEMENTATION on COMMUTING PATTERN ANALYSIS

The objective of this analysis is to visualize commuting patterns across several U.S. states, specifically to demonstrate that “Proportionally, people in Washington, D.C., commute by walking more than people in the other five selected states: California, Colorado, Florida, New York, and Texas.”

Original Visualization

The original visualization used multiple pie charts to depict the proportion of different commuting modes in each state. However, the pie charts violated several fundamental visualization principles: image

  • Show the Data and Facilitate Comparison: Pie charts make it difficult to compare proportions across multiple categories and states because they rely on the comparison of angles and areas, which is less intuitive.
  • Focus on the Objective: The original pie charts do not emphasize the objective clearly, as they scatter attention across many different modes of commuting without highlighting the primary mode of interest (walking).

Alternative Visualizations

1. Grouped Bar Chart

We created a grouped bar chart to address the limitations of the pie charts. This visualization clearly shows the proportion of each commuting mode across the selected states. image

How It Improves:

  • Facilitates Comparison: The grouped bar chart allows for a direct comparison of different commuting modes across all states on a common baseline, making it easier to assess the relative proportion of walking compared to other modes.
  • Comprehensive Data Display: All commuting modes are displayed in a single, unified chart, allowing for a complete view of the data without omitting smaller proportions, unlike pie charts.

2. Stacked Bar Chart

We also created a stacked bar chart to provide a holistic view of the commuting patterns by showing all commuting modes in each state. image

How It Improves:

  • Enhanced Focus on the Objective: The stacked bar chart visually emphasizes the higher proportion of walking in Washington, D.C., compared to other states, aligning closely with the objective.
  • Simplified Comparison: It provides a clearer way to see the overall distribution and specific differences in commuting modes, such as walking, between Washington, D.C., and the other states.

Conclusion

Both alternative visualizations—the grouped bar chart and the stacked bar chart—offer significant improvements over the original pie charts by enhancing data clarity, facilitating comparison, and focusing on the study's objective. They provide a more accurate and accessible representation of commuting patterns across the selected states.

Author: ZIRADDIN GULUMJANLI 2024

About

The python code implementation for Improving Visualization Techniques for Analyzing Commuting Patterns Across U.S. States

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published