Skip to content

Instantly share code, notes, and snippets.

@fawcett
fawcett / index.html
Last active November 30, 2020 10:03
d3.js Area Chart Example
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
@fawcett
fawcett / ckan_examples
Last active September 19, 2017 17:10
Good examples of CKAN use
Some examples of governments or other organizations using CKAN, particularly with spatial data
Official CKAN List of Sites
http://ckan.org/instances/
http://data.gov.uk/dataset/land-cover-map-1990-1km-percentage-subclass-web-map-service-wms
Non-spatial dataset demo with map to show spatial extent
http://demo.ckan.org/dataset/afghanistan-election-data
@fawcett
fawcett / index.html
Created April 8, 2016 14:46 — forked from ashleyignatius/index.html
Simple d3.js Tree Diagram with styling - Shell Rock Watershed (07080202)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Collapsible Tree Example</title>
<style>
.node circle {

##Maptime MSP - March 2016## ##What We Are Working On##

###Announcements###

  • April Meeting
    • St. Anthony Park Library
    • Tuesday, April 19 5:30 - 7:45
  • Using CartoDB
@fawcett
fawcett / index.html
Last active February 23, 2016 19:42
d3.js Line Chart Example
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {
@fawcett
fawcett / index.html
Last active February 23, 2016 19:42
d3.js Line Chart with 'monotone' imterpolation
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {

###Welcome to our 15th Maptime MSP Meetup!

  • Started in November 2014
  • This is our largest meeting yet, 2x our previous record

###Maptime is:

  • Over 75 Chapters around the world
  • Formed around the idea of creating a more inclusive setting for people to learn about maps
  • All people. All levels of expertise welcomed and encouraged.
  • Past = GIS + experts
@fawcett
fawcett / ckanApiPurgeOrgExample.py
Last active December 30, 2015 03:49
A quick example on how to purge a group from a CKAN instance via the CKAN API. You will need to edit the code to set the values for your CKAN URI, API key, and the name of the group that you wish to purge. Note that this example requires the ckanap Python module: https://github.com/open-data/ckanapi
import ckanapi
ckanUrl = 'http://uri.to.your.ckan.instance'
apiKey='apiKeyForCkanSysadmin'
groupName='nameOfGroupToBePurged'
def purgeCkanGroup(ckanUrl,apiKey,groupId):
"""
This function purges an organization from a CKAN instance via the CKAN API.
@fawcett
fawcett / Pondering Portals
Last active December 16, 2015 15:09
A collection of the revisit of the geo portal
Brian Timoney
http://mapbrief.com/2013/02/05/why-map-portals-dont-work-part-i/
http://mapbrief.com/2013/02/07/paralysis-of-choice-why-map-portals-dont-work-part-ii/
http://mapbrief.com/2013/02/11/the-tyranny-of-requirements-why-map-portals-dont-work-part-iii/
http://mapbrief.com/2013/02/19/an-iconography-of-confusion-why-map-portals-dont-work-part-iv/
http://mapbrief.com/2013/02/21/the-waiting-is-the-hardest-part-why-map-portals-dont-work-part-v/
http://mapbrief.com/2012/08/01/how-the-public-actually-uses-local-government-web-maps-metrics-from-denver/
http://mapbrief.com/2013/03/15/your-online-map-is-missing-half-its-audience-more-revealing-web-analytics-from-the-field/