Skip to content
Bikeshare Insights: Summer in the Windy City
  • AI Chat
  • Code
  • Report
  • Bikeshare Insights: Summer in the Windy City

    This dataset contains information on Divvy Bikes, a bikeshare program that provides residents and visitors of Chicago with a convenient way to explore the city.

    The workspace is set up with one CSV file containing bikeshare activities at the peak of the summer-July 2023. Columns include ride ID, bike type, start and end times, station names and IDs, location coordinates, and member type. Feel free to make this workspace yours by adding and removing cells, or editing any of the existing cells.

    Source: Divvy Bikes

    🌎 Some guiding questions to help you explore this data:

    1. How many observations are in the dataset? Are there null values?
    2. How would you clean and prepare the data for analysis?
    3. Which bike types are popular and which ones aren't? Check if being a member or casual rider makes a difference in bike choice.
    4. Time check! What are the peak and off-peak riding times during the day?

    πŸ“Š Visualization ideas

    • Bar chart: Display the number of times each bike type is used to identify the most and least used bikes.
    • Grouped bar chart: Compare bike usage by member type (member vs. casual) to see if it affects bike choice.
    • Heatmap: Vividly illustrate the popularity of bikes at different times during the day and week.

    You can query the pre-loaded CSV files using SQL directly. Here’s a sample query:

    Unknown integration
    DataFrameavailable as
    SELECT rideable_type, start_station_name
    FROM '202307-divvy-tripdata.parquet'
    LIMIT 10
    This query is taking long to finish...Consider adding a LIMIT clause or switching to Query mode to preview the result.
    import pandas as pd
    divvy_jan2023 = pd.read_parquet("202307-divvy-tripdata.parquet")

    Ready to share your work?

    Click "Share" in the upper right corner, copy the link, and share it! You can also add this workspace to your DataCamp Portfolio