Skip to content

mzwsInJjq/NYC-Open-Data-Visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYC Open Data Visualization

This repository contains a Python script that visualizes New York City open data by combining three datasets:

Overview

The atvc.py script performs the following steps:

  1. Load Datasets

    • Reads the NYC Street Centerline dataset (GeoJSON format).
    • Loads the NYC Borough Boundaries and converts the CRS to EPSG:4326.
    • Reads the Automated Traffic Volume Counts (CSV format).
  2. Data Preparation

    • Filters the ATVC dataset to include only the most recent year for each street.
    • Calculates the average traffic volume for each street.
    • Removes streets with zero traffic volume.
  3. Visualization

    • Colors the streets based on the average traffic volume using a color mapping (from red to green).
    • Plots the CSCL and NYBB datasets.
    • Saves the resulting plot as a PDF (nyc_atvc.pdf).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages