Skip to content

Instantly share code, notes, and snippets.

@andrewxhill
Last active January 20, 2016 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewxhill/5ee010594d5f9cb0e769 to your computer and use it in GitHub Desktop.
Save andrewxhill/5ee010594d5f9cb0e769 to your computer and use it in GitHub Desktop.
Instructions for embedding maps from L train analysis

Project credits:

@MrEPhysics @Stuart_Lynn @recessionporn @mamataakella @andrewxhill

Data from US Census Bureau, OpenStreetMap Contributors. Routing performed with Mapzen's Valhalla

Maps and analysis done using CartoDB

The Canarsie Tunnel

walking

The map shows the L train stations and the location of the Canarsie Tunnel

You can embed the interactive as follows,

<div class="wrap">
  <iframe width='100%' height='520' frameborder='0' src='https://team.cartodb.com/u/mamataakella/viz/df39c134-bd38-11e5-927e-0ecfd53eb7d3/embed_map' allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
</div>

L Train Walkers

walking

The map shows the approximate walking routes and relative traffic for all census blocks in Brooklyn, scaled by the number of people commuting to Manhattan via the L train.

You can embed the interactive as follows,

<div class="wrap">
  <iframe width='100%' height='520' frameborder='0' src='https://team.cartodb.com/u/mamataakella/viz/69d84614-be1d-11e5-8e44-0e674067d321/embed_map' allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
</div>

Who would take a 20 minute shuttle at Lorimer

walking

This map shows the breakdown of where L train commuters to Manhattan would be distributed to if there was a 20 minute shuttle bus from the Lorimer station in Williamsburg. The options are, take the bus, transfer to the M at Myrtle, or transfer to the A at Broadway Junction.

You can embed the interactive as follows,

<div class="wrap">
  <iframe width='100%' height='520' frameborder='0' src='https://team.cartodb.com/u/mamataakella/viz/5259fece-be2c-11e5-9d6a-0e98b61680bf/embed_map' allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
</div>

Brooklyn Walking

walking

The map is a pretend future where all of Brooklyn, and parts of Queens and Manhattan walk to the L train.

You can embed the interactive as follows,

<div class="wrap">
  <iframe width='100%' height='520' frameborder='0' src='https://team.cartodb.com/u/mamataakella/viz/fdbcdcba-bd4f-11e5-b5f0-0e674067d321/embed_map' allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment