Skip to content

Latest commit

 

History

History

week13

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Data  Journalism   USC  2020

<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <style> .header{ background-image: linear-gradient(to right, #ff5f6d, #ffc371); } .ml7 { position: relative; font-weight: 1200; } .ml7 .text-wrapper { position: relative; display: inline-block; padding-top: 0.2em; padding-right: 0.05em; padding-bottom: 0.1em; overflow: hidden; padding-left: 14px; } .ml7 .letter { transform-origin: 0 100%; display: inline-block; line-height: 1.3em; font-size: 3.6em; color: #FFFFFF } </style> <script> // Wrap every letter in a span $('.ml7 .letters').each(function(){ $(this).html($(this).text().replace(/([^\x00-\x80]|\w)/g, "$&")); }); anime.timeline({loop: true}) .add({ targets: '.ml7 .letter', translateY: ["1.1em", 0], translateX: ["0.55em", 0], translateZ: 0, rotateZ: [180, 0], duration: 1050, easing: "easeOutExpo", delay: function(el, i) { return 50 * i; } }).add({ targets: '.ml7', opacity: 0, duration: 1000, easing: "easeOutExpo", delay: 1000 }); </script>

Week 13

This week, we're gonna talk election maps and interactivity. And then we'll start on a map of our own.


Lecture

Slides


Hands-on

We've got some piping-hot data: the latest unemployment figures for California.

You're the only data journalist around in the newsroom, and the editors want a map ASAP.

What do you do?

Start here.

We'll go over how to wrangle.

And then you'll go into groups, and use QGIS to make another map using the data.

Your editor demands a fresh map on the unemployment rate, putting this month's numbers in geographical context. What can you come up with?

For you map, please:

  • Color counties based on unemployment rate
  • Add labels
  • Find the text annotation tool and add a note to the map
  • Export the map with a legend

BTW, here is a definition of seasonally-adjusted:

Over the course of a year, the size of the labor force, the levels of employment and unemployment, and other measures of labor market activity undergo fluctuations due to seasonal events including changes in weather, harvests, major holidays, and school schedules. Because these seasonal events follow a more or less regular pattern each year, their influence on statistical trends can be eliminated by seasonally adjusting the statistics from month to month. These seasonal adjustments make it easier to observe the cyclical*, underlying trend, and other nonseasonal movements in the series.

As a general rule, the monthly employment and unemployment numbers reported in the news are seasonally adjusted data. Seasonally adjusted data are useful when comparing several months of data. Annual average estimates are calculated from the not seasonally adjusted data series.

...

(Here is something we will need)


Links

Election maps

Presenting the least misleading map of the 2016 election | An extremely detailed map of the 2016 election | Trump to display map of 2016 election results in the White House: report

2018 election maps

WaPo | NYT | LAT

Other/interactivity:


Homework

Mapping assignment 2

We talked election maps this week. Now it's your turn to make one of your own.

Click here to download the data that you'll use.

What is it? It's precinct-level election results, from California's landmark Proposition 64 in 2016. That was the ballot measure that legalized recreational marijuana in the Golden State. The shapefile features precincts in Los Angeles County. Roughly 1 in 4 California voters lives here in L.A. County.

I want you to create and export a Prop 64 election map in QGIS, with the following features:

  • A title
  • A legend
  • A text annotation, describing some takeaway or geographic trend in the election results map. Here's how you make one

Once you do that, write a pitch of 100 words for a data story you could do with this information.

Please send the map by 5 PM Monday.

Due Monday at 5 PM.