Create a gist now

Instantly share code, notes, and snippets.

@neelsmith /
Last active Aug 29, 2015

What would you like to do?
Athenian Tribute Quota payments

Athenian Tribute quota payments: extant records

The Athenian Tribute Quota Lists

In the fifth century B.C., members of the "League of the Greeks" paid annual tribute to Athens. The Athenian Tribute Quota lists are a series of fragmentarily preserved inscriptions recording the proportion of that payment (1/60) that was handed over to the Treasurers of Athena.


  • Hover over a site to see its name.
  • Select a year to see what states appear in surviving records for a give year.

The data set

The data about payment of tribute is automatically generated from electronic editions by Christine Bannan created as part of the Phoros project. Longitude-latitude coordinates are automatically harvested from the Pleiades project. Sites with unknown modern location are not included in this display.

(Yes, it is correct that there are no extant records for year 6.)


Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
<script src=""></script>
<script src=""></script>
<script src=""></script>
svg { fill : #ddd; }
.allSites {
fill : #999;
stroke: black;
stroke-width: "2"
background-color: rgba(120,120,120,0.5);
color: #333;
margin: 10px;
height: 25px;
width: 200px;
padding-left: 10px;
padding-top: 10px;
<header role="banner">
<nav role="navigation">
<article role="main">
<label for="year">Select year:</label>
<select id="year">
<option>--choose a year--</option>
<option value="year_1">1</option>
<option value="year_2">2</option>
<option value="year_3">3</option>
<option value="year_4">4</option>
<option value="year_5">5</option>
<option value="year_6">6</option>
<option value="year_7">7</option>
<option value="year_8">8</option>
// All these globals should be placed in an 'app' object
// for namespacing ...
// The point data set, in geojson format:
var geoj
// The svg object to draw with:
var svg
var width = 1000,
height = 600;
var key = function(s) {
var proj = d3.geo.mercator()
var path = d3.geo.path()
var tooltip ="body")
.style("position", "absolute")
.style("z-index", "10")
.style("visibility", "hidden")
.text("a simple tooltip")
var buildPage = function(error, greece,lls) {
svg ="body").append("svg")
.attr("width", width)
.attr("height", height);
var coast = topojson.feature(greece, greece.objects.aegean);
geoj = lls;
.data(geoj.features, key)
return("" +;
.attr("class", "allSites")
.on("mouseover", function(s){
/* Add test here and set color based on year */
return"visibility", "visible");
.on("mousemove", function(){return"top", (event.pageY-10)+"px").style("left",(event.pageX+10)+"px");})
.on("mouseout", function(){return"visibility", "hidden");});
.defer(d3.json, "aegean.topojson")
.await(buildPage);"#year").on("change", change)
function change() {
var yrStr = this.options[this.selectedIndex].value;
var sites = svg.selectAll(".allSites")
if ([yrStr] !== undefined) {
return 8;
} else {
return 1;
.style("fill-opacity",function(d) {
if ([yrStr] !== undefined) {
return 1.0;
} else {
return 0.5;
.style("stroke",function(d) {
if ([yrStr] !== undefined) {
return "green";
} else {
return "#ffa500";
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment