In command line of directory desired:
virtual venv
virtual venv --python=python3
source venv/bin/activate
We'll be using Python-lambda
Create new directory and call it whatever you want.
Enter new directory and run virtualvenv venv from Terminal. If you don't have virtualenv, you can install it with pip install virtualenv.
| const csv = `transit_option,working_poor,working_nonpoor | |
| Overall,20,20 | |
| Transit,60,40 | |
| Car,20,25 | |
| Bike,15,10 | |
| Walking,10,10`; | |
| function convertCSVstring(csv){ | |
| const lines = csv.split("\n"); | |
| const result = []; |
D3 template that should integrate with current production.
In terminal navigate to project and run npm install -S mapbox-gl
Insert import mapboxgl from 'mapbox-gl'; at top of scripts.js
In scripts.js initialize map with
// GET MAP STARTED
const map = new mapboxgl.Map({
container: 'map', // Div ID, where to put it in DOM. <div id="map"></div> for example
style: 'https://maps.dallasnews.com/styles.json', // link to custom styles
| title:Big Killer's Wish List | |
| // Crimil's Dagger () | |
| dimwishlist:item=198854575&perks=3828510309,3038247973 | |
| dimwishlist:item=198854575&perks=3828510309,1015611457 | |
| dimwishlist:item=198854575&perks=880644845,3038247973 | |
| dimwishlist:item=198854575&perks=880644845,1015611457 | |
| dimwishlist:item=198854575&perks=1168162263,3038247973 | |
| dimwishlist:item=198854575&perks=1168162263,1015611457 |