Posts

Showing posts from November 18, 2018

Rediul Mare

Image
For the railway station village in Ocnița District, see Grinăuți-Moldova. Village in Dondușeni District, Moldova Rediul Mare Village Rediul Mare Location in Moldova Coordinates: 48°14′N 27°31′E  /  48.233°N 27.517°E  / 48.233; 27.517 Coordinates: 48°14′N 27°31′E  /  48.233°N 27.517°E  / 48.233; 27.517 Country   Moldova District Dondușeni District Population (2014 census) [1]  • Total 920 Time zone UTC+2 (EET)  • Summer (DST) UTC+3 (EEST) Rediul Mare is a village in Dondușeni District, Moldova. [2] Notable people Mihail Dolgan References ^ Results of Population and Housing Census in the Republic of Moldova in 2014: "Characteristics - Population (population by communes, religion, citizenship)" (XLS) . National Bureau of Statistics of the Republic of Moldova. 2017 . Retrieved 2017-05-01 . .mw-parser-output cit...

Hindmarsh, South Australia

Image
Clash Royale CLAN TAG #URR8PPP Suburb of Adelaide, South Australia Hindmarsh Adelaide, South Australia Manton Street, Hindmarsh Hindmarsh Coordinates 34°54′25″S 138°34′12″E  /  34.90696°S 138.56992°E  / -34.90696; 138.56992 Coordinates: 34°54′25″S 138°34′12″E  /  34.90696°S 138.56992°E  / -34.90696; 138.56992 Population 158 (2011 census) [1]  • Density 179.545 179.5/km 2 ( 465.02 465/sq mi) Established c. 1838 [2] Postcode(s) 5007 [3] Area 0.88 km 2 (0.3 sq mi) [4] Location 3.5 km (2 mi) NW of Adelaide city centre [3] LGA(s) City of Charles Sturt [5] State electorate(s) West Torrens Federal Division(s) Adelaide (2011) [6] Suburbs around Hindmarsh: Croydon Ridleyton Brompton West Hindmarsh Hindmarsh Bowden Torrensville Thebarton North Adelaide The Adelaide Entertainment Centre, Hindmarsh. Por...

Cleaning lower levels of D3 nested data

Image
up vote 0 down vote favorite I am having trouble working with D3 nested data. Currently, my code nests the data by two variables, leader and competent . Then, the code rolls up the data to get counts per leader-competent survey category. var summary = d3.nest() .key(function(d) return d.leader) .key(function(d) return d.competent) .sortKeys(function(a, b) return scaleValues.indexOf(a) - scaleValues.indexOf(b)) .rollup(function(l) return l.length) .entries(data) Output looks like this: ​0: … ​​key: "John" ​​values: (2) […] ​​​ 0: Object key: "Agree", value: 3 ​​​ 1: Object key: "Strongly Agree", value: 6 ​​​length: 2 ​1: … key: "Emily" ​​ values: (2) […] ​​​ 0: Object key: "Agree", value: 4 ​​​ 1: Object key: "Strongly Agree", value: 6 ​​​ length: 2 length: 2 I then clean the data to ens...