Skip to content

Instantly share code, notes, and snippets.

View mukhtyar's full-sized avatar

Shruti Mukhtyar mukhtyar

View GitHub Profile
@mukhtyar
mukhtyar / README.md
Last active March 30, 2020 18:56
Map of India's Parliamentary Constitiencies, 2014
@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 July 30, 2021 07:43
Diwali Greeting

Diwali Greeting

@mukhtyar
mukhtyar / .block
Last active January 10, 2018 14:53
D3 - Declarative API
license: mit
@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 / .block
Last active April 5, 2017 02:12
Cal-Adapt Vector Tiles with Leaflet and Leaflet.MapboxVectorTile plugin
license: mit
@mukhtyar
mukhtyar / .block
Last active August 1, 2017 17:35
Cal-Adapt Vector Tiles with Mapzen's TangramGL
license: mit
@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: