Monday, April 22, 2013

Glimpse Protocol and Visualization

An interesting idea for visualization of JSON data.
HTML is a perfect match rendering a hierarchy of objectes, tables, etc.
Super-simple.

More about Glimpse

Glimpse Protocol Definition

"The Glimpse Protocol... is a way of interpreting (JSON) JavaScript objects and rendering them based on their structure.

The interpretation that occurs simply makes certain assumptions about how data that is structured a particular way should be formatted.


{
    "Movie" : "Star Wars",
    "Genera/Theme" : "Science Fiction", 
    "Plot & Description" : "Luke Skywalker leaves his home planet, teams up with other rebels, and tries to save Princess Leia from the evil clutches of Darth Vader."
}

KeyValue
MovieStar Wars
Genera/ThemeScience Fiction
Plot & DescriptionLuke Skywalker leaves his home planet, teams up with other rebels, and tries to save Princess Leia from the evil clutches of Darth Vader.

Data
[ 
    [ "Actor", "Character", "Gender", "Age" ], 
    [ "Mark Hamill", "Luke Skywalker", "Male", "21" ], 
    [ "James Earl Jones", "Darth Vader", "Male", "45", "quiet" ], 
    [ "Harrison Ford", "Han Solo", "Male", "25" ], 
    [ "Carrie Fisher", "Princess Leia Organa", "Female", "21" ], 
    [ "Peter Cushing", "Grand Moff Tarkin", "Female", "69" ], 
    [ "Alec Guinness", "Ben Obi-Wan Kenobi", "Female", "70", "selected" ], 
    [ "Anthony Daniels", "C-3PO", "Droid", "101" ], 
    [ "Kenny Baker", "R2-D2", "Droid", "150" ]
]
ActorCharacterGenderAge
Mark HamillLuke SkywalkerMale21
James Earl JonesDarth VaderMale45
Harrison FordHan SoloMale25
Carrie FisherPrincess Leia OrganaFemale21
Peter CushingGrand Moff TarkinFemale69
Alec GuinnessBen Obi-Wan KenobiFemale70
Anthony DanielsC-3PODroid101
Kenny BakerR2-D2Droid150

No comments: