Propositional density = deep proposition/surface proportions
The propositional density of an object is the number of deep propositions divided by the number of surface propositions it conveys.
Propositional density is the amount of information conveyed by an element or design per unit element.
surface propositions (Ps) – conspicuous and perceptible. The rectangle is blue
deeper propositions (Pd) – underlying and often hidden. The blue rectangle conveys calm, trust, stability, sadness, etc

This image causes a bit of controversy between technical and artistic visualization. This mountain/stock market makes the data more engaging, but also makes it less technical.
Technical vis <-------------------> artistic vis
easy to read harder to understand quickly
boring interesting to look at
###JSON: JavaScript Object Notation
Data storage:
{
Curly Braces – OBJECT //as an object stucture
}
[ Square Brackets - ARRAY] //as a list
example:
{ //Information stored as OBJECT
name:”Peter”, //STRING
age:18, //INT?
smoker:false, //BOOLEAN
friends:["April", "Ron","Valerie"] //ARRAY (objects and arrays can be stored within each other eg. each of these friends could be an object with smoker values too. It’d be an object in an array in an object)
};
How to access stuff in JSON: (Super easy)
myJSONObject.age = access age “18″
myJSONObject.friends[1] = access “Ron”
When accessing things from JSON in JAVA: it’s not easy
myJSONObject.getInt(“age”);
3. try{
4. String url — etc.
4. String string Data — etc.
2. myJSONObject = new JSONObject(stringData);
1. JSONArray a = myJSONObject.getJSONArray(“friends”);
println(a.getString(1));
} catch (Exception e) {println(“JSON LOAD FAILED.”);
}
It needs all this to help it run and double check incase it fails to load etc.
//Note to self: add JSON library to processing
api:
http://developer.nytimes.com/docs/article_search_api
To search api on a page:
?query=libya&api-key=#####
so in processing:
void getJSON() {
String keywor = “libya”;
String url = endPoint + “querty=” + keyword + “&api-key =” + apiKey;
}
99.9% of the time we’ll use double quotes
” ” – stings
‘ ‘ – characters (single characters: used for things like KeyPressed ‘a’ etc)
http://api.nytimes.com/svc/search/v1/article?query=libya&api-key=ebb930bb67d57dfdd2892a6c5af4c51b:19:54875063
Get a looong string of JSON:
{“offset” : “0″ , “results” : [{ "body" : blhablhablahbalhbalbha} , {same thing again}], “tokens” : ["libya"] , “total” : 8820}
http://prototype.nytimes.com/gst/apitool/index.html
Allows you to filter for data you’re looking for.
Facets: data surrounding your term (in this case libya)
per_facet // people per term
geo_facet //geological data
org_facet //organization related to data, (UN, etc.)
des_facet //descriptions related to, middle eat conflict
publication_year //pub year
publication_month //publication month
http://api.nytimes.com/svc/search/v1/article?query=(field:)keywords (facet:[value])(¶ms)&api-key=your-API-key
To search for facet type per search
void getJSON(String keyword, String facet, String facetType) { //added facet & faceType: ?query=libya_facetType:facet&api-key=####
//String keyword = “libya”;
String url = endPoint + “query=” + keyword + “+” facetType + “:” + facet + “&api-key=” + apiKey;
PI/15