block by mbostock 4060606

Choropleth

Full Screen

Source: Bureau of Labor Statistics, Census Bureau

This choropleth shows unemployment rates as of August, 2016 with a threshold scale. I employed a mix of command-line tools to transform the fixed-width text file into a CSV, including dsv2dsv:

cat <(echo "id,rate") \
  <(tail -n +7 laucntycur14.txt \
    | grep 'Aug-16' \
    | cut -b 21-22,28-30,129-133 \
    | tr -s ' ' \
    | dsv2dsv -r ' ') \
  | csv2tsv \
  > unemployment.tsv

Updated Example →

index.html