Skip to content

Instantly share code, notes, and snippets.

Andrew Long andrewlongdotcom

Block or report user

Report or block andrewlongdotcom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@andrewlongdotcom
andrewlongdotcom / UserModelingChart.htm
Created Dec 4, 2014
User Modeling Chart from IBM Bluemix Watson
View UserModelingChart.htm
<script type="text/javascript">
var widgetId = "chartDiv";
var widgetWidth = 400;
var widgetHeight = 400;
var theProfile = {"id":"*UNKNOWN*","source":"*UNKNOWN*","tree":{"id":"r","name":"root","children":[{"id":"personality","name":"Big 5","children":[{"id":"Extraversion_parent","category":"personality","percentage":0.15,"name":"Extraversion","children":[{"id":"Openness","category":"personality","percentage":0.74,"name":"Openness","children":[{"id":"Adventurousness","category":"personality","percentage":0.78,"name":"Adventurousness","size":1},{"id":"Artistic interests","category":"personality","percentage":0.45,"name":"Artistic interests","size":1},{"id":"Emotionality","category":"personality","percentage":0.11,"name":"Emotionality","size":1},{"id":"Imagination","category":"personality","percentage":0.75,"name":"Imagination","size":1},{"id":"Intellect","category":"personality","percentage":0.77,"name":"Intellect","size":1},{"id":"Liberalism","category":"personality","percentage":0.73,"name":"Authority-challen
You can’t perform that action at this time.