Visually Display Information on Maps

gtss world map us counties colored map us bubble map us counties map DataVIZ SAG Day at CDC, Oct./07/2019

Cosmin Potocean

  • Software Dev/Engineer

  • Northrop Grumman
  • ng logo
  • CDC - NCCDPHP - Chronic
  • ng logo


LinkedIn
GitHub

What Will Cover

  • Why Graphical Display
  • Data Maps
  • Process of a Custom Map
  • Examples
  • Other Visualizations

Scenario: Cholera Outbreak in London: 1854

cholera outbreak map John Snow: A Legacy of Disease Detectives

Why Graphical Display

  • shows the data
  • ..complex ideas communicated with clarity, precission, and efficiency
  • ..viewer to think about substance rather than the methodology..
titanic survival titanic survival Titanic: Machine Learning from Disaster
visual display of quantitative information The Visual Display of Quantitative Infomation, by Edward R. Tufte

Data Maps

wcms

WCMS Data Maps

One picture can carry large volume of information

WCMS TP4 Features Gallery
(https://www.cdc.gov/wcms/4.0/cdc-wp/data-presentation/index.html)

Process of a Custom Map 1/3

Process of a Custom Map 2/3

  • HTML, CSS, JavaScript
  • D3.js Data-Driven Documents

							.....
							g.selectAll('path')
							.data(stateInView)
							.enter()
							.append('path')
							.....
							.style('fill', function (d) { 
								// ############## MAP COLORS ############## ADI
								if (_mapType === 'mapChoice1' && d.properties._ADI && parseFloat(d.properties._ADI)) {
									let adi = d.properties._ADI
									const mapChoice1 = legend.mapChoice1;
									if (adi < 107.1) { return mapChoice1.low.color }
									if (adi >= 107.1 && adi < 111.9) { return mapChoice1.med.color }
									if (adi >= 111.9) { return mapChoice1.high.color }
								}
							......
					

Process of a Custom Map 3/3

Example: National Diabetes Prevention Program
https://www.cdc.gov/diabetes/programs/national-dpp-maps/index.html
Example: Global Tobacco Surveillance System Data
https://www.cdc.gov/tobacco/global/gtss/gtssdata/index.html

Other Visualizations

visualization example visualization example visualization example visualization example

D3.js Gallery

d3 gallery https://github.com/d3/d3/wiki/Gallery

What Did We Cover

  • Why Graphical Display  
  • Data Maps  
  • Process of a Custom Map  
  • Examples  
  • Other Visualizations  

Thank you


?



presentation: https://cosmycx.github.io/visually-display-info-maps/ presentation source code: https://github.com/cosmycx/visually-display-info-maps

presentation used: reveal.js