Logo Lanfrica

angelaambroz/uwezoheat

Domain:

educationgeospatial

Record type:

software
Creator:
ang
Host:
Creating a choropleth/heat map of pre-school enrolment in Kenya 2013. d3.js. Uwezo: Preschool choropleth for Kenya, 2013 ======= 29 January 2015. For the IHD conference, generating a choropleth map. ### Main idea Preschool averages, by girls and boys, for all 47 Kenyan counties in 2013. ### To Do 1. ~~Giant, transparent colored circle following the cursor around?~~ Stupid idea. 2. ~~`ogr2ogr` the Kenya county shapefiles.~~ 3. ~~Merge the shapefile county data with the enrolment data.~~ 4. ~~Check the GEOjsoning worked.~~ 5. Bounded box scale thing. 6. ~~Redo `csv`, aggregate it up to entire population (boys + girls).~~ 7. ~~Set the colors (via Color Brewer).~~ 10 colors, going red to green. 8. ~~Apply color fill to counties, based on enrolment rates.~~ 9. ~~Add static text labels for each county.~~ 10. ~~Style static text.~~ 11. ~~Tooltips: boys, girls, average. Note for missing datasets (if `!d.properties[userSelection]`).~~ 12. ~~Drop-downs for gender, age.~~ 13. ~~Format the tooltip number (percentage).~~ 14. ~~Style the drop-downs, update button.~~ 15. ~~`update` function.~~ 16. ~~Enable/disable age drop-down, based on whether `!everyone` is selected.~~ 17. ~~Merge all the options of csv to json.~~ 18. ~~Transition the colors.~~ 19. ~~Add a `reset` button?~~ 20. ~~Add `title`, and informative `subtitle`. `align right`?~~ 21. ~~Color? What do people prefer?~~ 22. ~~Add a color scale/legend.~~ 23. ~~Replace drop-downs with always-on buttons. (BOY, GIRL, 3, 4, 5.) Add these _to_ the `svg`, so no scrolling is needed.~~ 24. ~~Add functionality to buttons (via `class`, `.on(click)`, `hover`, etc...).~~ 25. ~~Style the buttons - prettier, milder colors; design for clarity. Rounded corners? Sleeker?~~ 26. ~~Add text to the buttons.~~ 27. ~~Awesome-fy the button font.~~ 28. ~~Make a new `reset` button (point it to `firstViz()`).~~ 29. ~~Error message if `userSubset` or `userAge` (?) is missing.~~ 30. ~~Move all the `width`, `height` styles to ` ` for `buttons`.~~ No. 31. ~~Tiny text label thingie, under the buttons, about what was selected. …