Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

JavaScript Vis Progress

Report
Tim Disney

Tuesday, June 8, 2010


JavaScript Crash Course

• Very dynamic language


• no compilation
• no static typing
• Looks like Java, acts like Scheme/Self
• All about objects
• no class/object distinction
• objects are dictionaries/maps/hashes
Tuesday, June 8, 2010
JS top level script

var myObj = {
foo: "bar",
baz: 42.34
}

function myFun() {
var localVar = 5;
globalVar = 22;
}

Tuesday, June 8, 2010


JS top level script window object

var myObj = { {
foo: "bar", myObj: {
baz: 42.34 foo: “bar”,
} baz: 42.34
},
function myFun() {
var localVar = 5; myFun: <function>,
globalVar = 22;
} globalVar: 22
}

Tuesday, June 8, 2010


Questions to Answer

• Project Structure
• Where are the “important” objects?
• What are “messy” projects?
• What functions/fields are visible?

Tuesday, June 8, 2010


Questions to Answer

• How does structure change?


• What gets added/removed/modified
when I click a button?
• Are things changes that shouldn’t?

Tuesday, June 8, 2010


What I have
• Walking the window object to get data
• element names
• element types (function/string/number)
• filtering
• Using JIT (JavaScript InfoVis Toolkit) to
generate a radial graph

Tuesday, June 8, 2010


DEMO

Tuesday, June 8, 2010


TODOs

• change over time


• dynamic label sizes
• find good examples of “messy”
• prototype chain?

Tuesday, June 8, 2010

You might also like