Skip to content

Instantly share code, notes, and snippets.

View mukhtyar's full-sized avatar

Shruti Mukhtyar mukhtyar

View GitHub Profile
@mukhtyar
mukhtyar / index.html
Last active August 29, 2015 14:00
Working with Cal-Adapt Extreme Heat data
<html>
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
// Load the Visualization API and the piechart package.
google.load('visualization', '1', {packages:['table']});
// Set a callback to run when the Google Visualization API is loaded.
L.TileLayer.d3_JSON = L.TileLayer.extend({
//extending L.TileLayer to support topoJSON and geoJSON vector sources
//rendering with d3, borrows from zjonsson & https://github.com/glenrobertson/leaflet-tilelayer-geojson/
onAdd: function(map) {
var map_container_svg = d3.select(map._container).select("svg");
L.TileLayer.prototype.onAdd.call(this, map);
this.mapsenseStyle = this.options.mapsenseStyle || 'light';
@mukhtyar
mukhtyar / README.md
Last active March 24, 2016 21:47
Simple D3 Bar Chart with Transitions
@mukhtyar
mukhtyar / readme.md
Created March 30, 2016 17:35 — forked from piensaenpixel/readme.md
Design Webinar Part 1: Airport Traffic

Create a Basemap

First, we will create a simple basemap that we can use to display the airport traffic information on top of

Add the data

  • From your Maps dashboard, click on NEW MAP
  • In the Add datasets dialogue, search for world borders to find the World Borders (High Definition) dataset available in the CartoDB Library
  • Once located, click to highlight, and then click CREATE MAP which will sync the layer to your account from the CartoDB Library and also add it to our map

Style the Background

The default basemap is Positron to change that, let's change the background color of the map

@mukhtyar
mukhtyar / FGDC_FAQ.xsl
Last active June 22, 2016 23:53
Cal-Adapt Metadata Example
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- An xsl template for displaying metadata in ArcInfo8 with the traditional FGDC look and feel created by mp
Copyright (c) 2000-2005, Environmental Systems Research Institute, Inc. All rights reserved.
Supports W3C DOM compatible browsers such as IE6, IE7, Netscape 7, and Mozilla Firefox.
Revision History:
@mukhtyar
mukhtyar / README.md
Created July 6, 2016 18:08 — forked from jsanz/README.md
Geocode with Mapzen search and Google Spreadsheets

How to set up a quick geocoding system on google spreadsheets.

  1. Create a new spreadsheet
  2. Open the Scripts editor and paste the script attached
  3. Use on your spreadsheet this new formula
=searchMapzen(place_cell,mapzen_api_key)

@mukhtyar
mukhtyar / .block
Created August 25, 2016 18:48
Gif rendering - canvg
license: mit
@mukhtyar
mukhtyar / .block
Last active October 7, 2016 03:54
radar chart with smallest area on top
license: CC0-1.0
@mukhtyar
mukhtyar / .block
Created October 7, 2016 16:32 — forked from Fil/.block
.call(generalpattern)
license: mit
@mukhtyar
mukhtyar / .block
Last active October 26, 2016 15:59
Heatmap
license: gpl-3.0