- Import delicious bookmarks
- Position Scale Orient and Color triangles based on variables of each bookmark in context of sets of bookmarks that live in a recent activity set, in tag sets, and the others dynamic sets of bookmarks.
//Practically all this code comes from https://github.com/alangrafu/radar-chart-d3 | |
//I only made some additions and aesthetic adjustments to make the chart look better | |
//(of course, that is only my point of view) | |
//Such as a better placement of the titles at each line end, | |
//adding numbers that reflect what each circular level stands for | |
//Not placing the last level and slight differences in color | |
// | |
//For a bit of extra information check the blog about it: | |
//http://nbremer.blogspot.nl/2013/09/making-d3-radar-chart-look-bit-better.html |
var shootings = [ | |
{ | |
"County": "Wake", | |
"State": "NC - North Carolina", | |
"City": "Zebulon", | |
"Lat": "35.8243208", | |
"Lng": "-78.3147199", | |
"Agency Name": "Zebulon police", | |
"victim_name": "Derek Smith", | |
"victim_age": "22", |
[ | |
{ | |
"Country_Area":"Japan", | |
"City_Code":21671, | |
"City":"Tokyo", | |
"Latitude":35.69, | |
"Longitude":139.69, | |
"1950":11275, | |
"1955":13713, | |
"1960":16679, |
# usage: `python ~/Desktop/contours.py 1994-654-12_v02.tif` | |
# output is to a squareless.txt file and the directory "out" | |
# Working well with thumbnails with 400px as their longest side - untested with other dimensions | |
# for i in $(ls -1 | grep tif); do python /Users/artsyinc/Documents/resistance/experiments/artwork_image_cropping/contours.py $i; done | |
import cv2 | |
import numpy as np | |
from matplotlib import pyplot as plt | |
import sys |
Variation on abstract computational animation for the exhibition
"Abstraction Now", Künstlerhaus Vienna, 29.08-28.09 2003.
You are allowed to play with this code as much as you like, but you may not publish pieces based directly on it. The Vec2D class can be used freely in any context. via http://yaythis.me/1hgyFVQ
This is a five part series, taking you through stages of designing and creating reusable visualizations with d3.js
All visualizations have the same functionality, showcase the individual points with a bar chart and sum up the selected bars.
This demo several time scales. src
D3's time axis does magic things. I expected to modify the x axis such that I could mostly re-use D3's date formatting tricks, but exercise greater control over the resolution at different time scales.
This examples demonstrates how to use D3's brush component to implement focus + context zooming. Click and drag in the small chart below to pan or zoom.
This example uses custom map data that includes counties in the state of New York.
Custom map data is specified with geographyConfig.dataUrl
, which will attempt to make d3.json
request to that URL.
In this example, counties are referred to by their FIPs code.
The data was converted from a .SHP file to TopoJSON, instructions to do that here