WIP: Working demographic page, pre-refactor

Code is ugly. Don't look at it. You will
likely cry.