News for hackers. Stuff that matters.
Re:Poll: Where do you live? by davidkuennen on Friday February 04, 2022 @03:48PM (#30212964)
With US combined:

console.table(Object.entries([...document.querySelectorAll('.fatitem table .athing')].map(el => [el.textContent.trim(), el.nextSibling.textContent.trim()]).reduce((rv, [a,b]) => {var key = a.split(": ")[0]; rv[key] = rv[key] || 0; rv[key] += parseInt(b); return rv;}, {})).sort(([,a], [,b]) => parseInt(b) - parseInt(a)))

  'US' 959
  'Canada' 114
  'United Kingdom' 96
  'Germany' 96
  'France' 35
  'Netherlands' 30
  'Sweden' 30
  'Poland' 24
  'Brazil' 24
  'Denmark' 19
  'Switzerland' 18

There are no comments on this comment yet.