Skip to content

Instantly share code, notes, and snippets.

View danse's full-sized avatar

frances danse

  • Internet
View GitHub Profile
@danse
danse / 1-readme.md
Created December 8, 2023 15:16 — forked from simonmichael/1-readme.md
SM's Handy Haskell Keywords (2023-12-08)
@danse
danse / .block
Created November 20, 2017 20:06 — forked from mbostock/.block
Polar Clock
license: gpl-3.0
@danse
danse / README.md
Created February 3, 2017 20:45 — forked from rveciana/README.md
d3-composite-projections conicConformalEurope
@danse
danse / README.md
Created October 23, 2015 23:13 — forked from susielu/README.md
Annual Temp - New York 2015

Weather Plot - New York 2015

In the example we're looking at historical weather data for New York provided by intellicast.com and wunderground.com. Inspired by weather-radicals.com.

This example uses scales to roll your own radial projection by mapping out the x, y, and r positions. If you are creating a line or an area you can use d3's convenience functions d3.svg.line.radial and d3.svg.area.radial but this is a method you can use if you want to use different graphical elements in a circular layout.

var cradle = require('cradle');
var connection = new cradle.Connection(
'https://user:password@host',
443
);
var db = connection.database('database')
db.all({include_docs: true}, function(err, allDocs) {
if (err) {
@danse
danse / app.py
Created June 11, 2014 10:06 — forked from petrjasek/app.py
from Eve import Eve
import superdesk
import superdesk.users
import superdesk.auth
app = Eve()
superdesk.init_app(app)
app.run()
@danse
danse / app.py
Last active August 29, 2015 14:02 — forked from petrjasek/app.py
from Eve import Eve
import superdesk.users
import superdesk.auth
app = Eve(auth=superdesk.auth.SuperdeskTokenAuth)
superdesk.users.register(app)
superdesk.auth.register(app)
app.run()
@danse
danse / README.md
Created March 17, 2014 20:30 — forked from dwtkns/README.md

Building on this - experimenting with fake 3d svg arcs using two nested orthographic projections and cardinal line interpolation.

@danse
danse / snippet.js
Created March 17, 2014 20:29 — forked from dwtkns/snippet.js
var s=document.createElement('script'); s.type='text/javascript'; s.src='http://d3js.org/d3.v3.min.js'; document.head.appendChild(s);
@danse
danse / README.md
Created February 22, 2014 14:11 — forked from mbostock/.block

This variation of a simple bar chart adds sorting with staggered delay and translucency to improve readability during the transition. This technique is recommended by Heer & Robertson. Use the checkbox in the top right to turn sorting on or off.