Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>My Test Map</title>
<meta charset="utf-8" />
<link href="https://rawgit.com/andrewgiessel/leafletstuff/master/leaflet.css" type="text/css" rel=stylesheet>
<style>
#map {
width: 550px;
height: 400px;
@ansakoy
ansakoy / index.html
Created January 5, 2016 04:26
Tableau Public UPD
<!DOCTYPE html>
<html>
<head>
<title>Tableau</title>
<meta charset="utf-8" />
</head>
<body>
<script type='text/javascript' src='https://public.tableau.com/javascripts/api/viz_v1.js'></script><div class='tableauPlaceholder' style='width: 644px; height: 519px;'><noscript><a href='#'><img alt='Dashboard 1 ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;co&#47;countries_dynamicsUPD&#47;Dashboard1&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz' width='644' height='519' style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='countries_dynamicsUPD&#47;Dashboard1' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;co&#47;countries_dynamicsUPD&#47;Dashboard1&#47;1.png' /> <param name='animate_transition' value='yes' /><par
@ansakoy
ansakoy / index.html
Created January 4, 2016 01:41
Tableau Public chart
<!DOCTYPE html>
<html>
<head>
<title>Tableau</title>
<meta charset="utf-8" />
</head>
<body>
<script type='text/javascript' src='https://public.tableau.com/javascripts/api/viz_v1.js'></script><div class='tableauPlaceholder' style='width: 644px; height: 519px;'><noscript><a href='#'><img alt='Dashboard 1 ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;NY&#47;NYTCountriesdynamics&#47;Dashboard1&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz' width='644' height='519' style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='NYTCountriesdynamics&#47;Dashboard1' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;NY&#47;NYTCountriesdynamics&#47;Dashboard1&#47;1.png' /> <param name='animate_transition' value='yes' /><param name
@ansakoy
ansakoy / index.html
Created January 3, 2016 23:52
tableau test
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type='text/javascript' src='https://public.tableau.com/javascripts/api/viz_v1.js'></script><div class='tableauPlaceholder' style='width: 804px; height: 669px;'><noscript><a href='#'><img alt='Dashboard 1 ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Wo&#47;WorldmapaccordingtoNYTimes&#47;Dashboard1&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz' width='804' height='669' style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='WorldmapaccordingtoNYTimes&#47;Dashboard1' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Wo&#47;WorldmapaccordingtoNYTimes&#47;Dashboard1&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spi
@ansakoy
ansakoy / index.html
Last active January 5, 2016 02:19
NYT Map
<!DOCTYPE html>
<html>
<head>
<title>My Test Map</title>
<meta charset="utf-8" />
<link href="https://rawgit.com/andrewgiessel/leafletstuff/master/leaflet.css" type="text/css" rel=stylesheet>
<style>
#map {
width: 600px;
height: 450px;
@ansakoy
ansakoy / index.html
Last active January 1, 2016 14:13
NYTimes Map 2012-2015
<!DOCTYPE html>
<html>
<head>
<title>My Test Map</title>
<meta charset="utf-8" />
<link href="https://rawgit.com/andrewgiessel/leafletstuff/master/leaflet.css" type="text/css" rel=stylesheet>
<style>
#map {
width: 600px;
height: 450px;
@ansakoy
ansakoy / countriesnytimes2015.js
Created December 29, 2015 10:23
A map showing the approximate # of NY Times publications where a country is mentioned (01.01.2015 - 22.12.2015)
This file has been truncated, but you can view the full file.
var countriesnytimes2015 = {"type": "FeatureCollection", "features": [{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[8.60251,36.939511],[8.605655,36.913045],[8.604828,36.900979],[8.608239,36.890721],[8.642552,36.848501],[8.641725,36.836357],[8.623845,36.826074],[8.554495,36.803646],[8.520079,36.79791],[8.482665,36.799977],[8.444011,36.796205],[8.413109,36.783906],[8.406701,36.767989],[8.441634,36.75321],[8.461788,36.732798],[8.45321,36.697658],[8.430369,36.662621],[8.407941,36.642622],[8.286915,36.583401],[8.222319,36.563764],[8.193484,36.548985],[8.169919,36.525834],[8.16789,36.491995],[8.167852,36.491365],[8.20878,36.477826],[8.295597,36.46868],[8.314924,36.460618],[8.333837,36.456381],[8.349237,36.448784],[8.357712,36.430387],[8.359675,36.411215],[8.358125,36.369926],[8.355423,36.356116],[8.354404,36.350909],[8.307069,36.243629],[8.302314,36.202339],[8.307069,36.182495],[8.31451,36.163944],[8.317094,36.145909],[8.307999,36.126995],[8.296733,36.110407],[8.275649,36.03682],[8.272446,35
<!DOCTYPE html>
<html>
<head>
<title>My Test Map</title>
<meta charset="utf-8" />
<link href="https://rawgit.com/andrewgiessel/leafletstuff/master/leaflet.css" type="text/css" rel=stylesheet>
<style>
#map {
width: 800px;
height: 500px;
<!DOCTYPE html>
<html>
<head>
<title>My Test Map</title>
<meta charset="utf-8" />
<link href="https://rawgit.com/andrewgiessel/leafletstuff/master/leaflet.css" type="text/css" rel=stylesheet>
<style>
#map {
width: 800px;
height: 500px;
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />