Update D3 demo wiki

print-window-tiddler
Jeremy Ruston 2013-08-02 22:05:39 +01:00
rodzic 63fa04931d
commit 2179d3fa70
3 zmienionych plików z 51 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,44 @@
title: CloudData
type: application/json
[
{"text": "Tokyo/Yokohama", "size": 33.200},
{"text": "New York Metro", "size": 17.800},
{"text": "Sao Paulo", "size": 17.700},
{"text": "Seoul/Incheon", "size": 17.500},
{"text": "Mexico City", "size": 17.400},
{"text": "Osaka/Kobe/Kyoto", "size": 16.425},
{"text": "Manila", "size": 14.750},
{"text": "Mumbai", "size": 14.350},
{"text": "Delhi", "size": 14.300},
{"text": "Jakarta", "size": 14.250},
{"text": "Lagos", "size": 13.400},
{"text": "Kolkata", "size": 12.700},
{"text": "Cairo", "size": 12.200},
{"text": "Los Angeles", "size": 11.789},
{"text": "Buenos Aires", "size": 11.200},
{"text": "Rio de Janeiro", "size": 10.800},
{"text": "Moscow", "size": 10.500},
{"text": "Shanghai", "size": 10.000},
{"text": "Karachi", "size": 9.800},
{"text": "Paris", "size": 9.645},
{"text": "Istanbul", "size": 9.000},
{"text": "Nagoya", "size": 9.000},
{"text": "Beijing", "size": 8.614},
{"text": "Chicago", "size": 8.308},
{"text": "London", "size": 8.278},
{"text": "Shenzhen", "size": 8.000},
{"text": "Essen/Dusseldorf", "size": 7.350},
{"text": "Tehran", "size": 7.250},
{"text": "Bogota", "size": 7.000},
{"text": "Lima", "size": 7.000},
{"text": "Bangkok", "size": 6.500},
{"text": "Johannesburg/East Rand", "size": 6.000},
{"text": "Chennai", "size": 5.950},
{"text": "Taipei", "size": 5.700},
{"text": "Baghdad", "size": 5.500},
{"text": "Santiago", "size": 5.425},
{"text": "Bangalore", "size": 5.400},
{"text": "Hyderabad", "size": 5.300},
{"text": "St Petersburg", "size": 5.300}
]

Wyświetl plik

@ -4,7 +4,10 @@ This is a demo of TiddlyWiki5 incorporating a plugin for the [[D3.js]] visualiza
! Word Cloud
<$d3cloud/>
<$d3cloud data="CloudData" spiral={{$:/spiral}}/>
//[[Raw data|CloudData]]//
! Bar Chart

Wyświetl plik

@ -0,0 +1,3 @@
title: $:/spiral
archimedean