introduction to data visualization
play

Introduction to Data Visualization Morine Amutorine Benjamin - PowerPoint PPT Presentation

Introduction to Data Visualization Morine Amutorine Benjamin Akera Elaine Nsoesie Instructor introductions Contacts: Morine - morine.amutorine@one.un.org / T witter: @M_moryn Elaine - onelaine@bu.edu / T witter: @ensoesie Ben -


  1. Introduction to Data Visualization Morine Amutorine Benjamin Akera Elaine Nsoesie

  2. Instructor introductions … Contacts: Morine - morine.amutorine@one.un.org / T witter: @M_moryn Elaine - onelaine@bu.edu / T witter: @ensoesie Ben - akeraben@gmail.com

  3. Resources Github Repo https://github.com/ensoesie/DSA_Visualization Google Trends https://trends.google.com Twitter https://developer.twitter.com

  4. Why visualize data? A picture is worth a thousand words It is easier to remember pictures than text Useful for understanding data Can summarize large amounts of complex data

  5. Visualization in Data Science can be used to: - Explore data - Analyze data - Communicate fjndings - Quickly draw attention to key messages

  6. How to use visualizations to communicate efgectively?

  7. Decide on what your visualization 1 should convey The style and structure FOCUS ON THE DATA of your visualization will depend on its purpose Design for a specific Tell a good story with a audience clear message

  8. Use color and size to highlight 2 and suppress information

  9. https://venngage.com/blog/how-to-pick-colors/

  10. Use length and position to 3 express quantitative information. Use color for categorical information Scatter plots and bar charts allow for more accurate comparison of information over time compared to pie charts

  11. Think carefully about color 4 selection and usage Use color to create groupings Add a single color to a black and white image Use black and white to add contrast to an image with a single color gradient https://africaindata.org/#/3

  12. Think carefully about color 4 selection and usage Some colors Red Green Blue have pre- established Stop Moving Water meanings Dangerous Money Cool Consider those with Hot Plants Safe color blindness

  13. Use all available space and 5 proper scales Scale does not always have to include zero Optimize the ratio between plot objects to capture accurate relationships Transform data to a different scale e.g. use log scale to show percentage change over time

  14. Use text and labels to improve 6 interpretation Use meaningful titles Label axis, as needed Add texts directly to the image - do not always rely on legends Lines should not obstruct points Use colors (e.g. light grey) and weight that lessen focus on tick marks and grids https://flowingdata.com/2016/05/17/the-changing-american-diet/

  15. Balance complexity and clarity 7 GapMinder (https://www.gapminder.org/tool)

  16. Balance complexity and clarity 7 (infographics) Templates and examples available online Can combine visualizations from python with manual editing

  17. Examples

  18. When to use? Visualize Bubbles correlation/association GapMinder (https://www.gapminder.org/tool)

  19. Scatterplot - Connected scatter Correlogram Heatmap https://python-graph-gallery.com

  20. When to use? Useful for spatial Maps visualizations

  21. - Maps with bubbles - Maps with pins healthmap.org

  22. When to use? Useful for rankings Bar plots How Africa Tweets. https://portland-communications.com/publications/how-africa-tweets-2018/

  23. - Box plot Lollipop plot Word cloud https://python-graph-gallery.com

  24. When to use? Useful for showing evolution Area/density plots Jain et al. The Digital Phenotype. Nat Biotech

  25. - Line plot (Stacked) area plot Stream chart

  26. When to use? Useful for information fmow Networks

  27. - Sankey diagram https://vizhub.healthdata.org

  28. Code available from: https://guyabel.com/post/ animated-directional- chord-diagrams/ Chord diagram

  29. Bad visualizations

  30. Which of these images has issues?

  31. Which of these images has issues?

  32. What’s wrong with these images?

  33. Tools and Resources

  34. Python libraries - - Matplotlib Plotly - Pydot - - ggplot Geoplotlib - - Seaborn Gleam - - Bokeh Missingno - - Pygal Leather

  35. The Chart Doctor https://github.com/ft-interactive/chart-doctor/tree/master/visual-vocabulary

  36. Other tools - T ableau - R ggplot2 and others - D3

  37. Next ... ipython tutorial

Recommend


More recommend