Skip to content

Instantly share code, notes, and snippets.

@denisemauldin
Created February 13, 2018 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save denisemauldin/f38e57ba0cfd504e743224af4d2ed941 to your computer and use it in GitHub Desktop.
Save denisemauldin/f38e57ba0cfd504e743224af4d2ed941 to your computer and use it in GitHub Desktop.
Zoomable Choropleth with Crossfilter
border: no
license: gpl-3.0

Sources: County Health Rankings & Roadmaps, U.S. Census Bureau, Bureau of Labor Statistics, Centers for Disease Control and Prevention, Robert Wood Johnson Foundation, Townhall.com

Zoomable Choropleth showing United States county-level data on a number of variables including county health rankings and the 2016 General Election Results.

The Choropleth employs a few interesting features:

  • utilizes Crossfilter for fast n-dimensional filtering across multiple variables within the data set

  • uses d3-legend to show chromatic and sequential scales

  • contains responsive properties that allow the browser to resize the SVG through the ViewBox attribute

I used Power BI to wrangle, munge, and tidy the data into a CSV file.

forked from tonmcg's block: Zoomable Choropleth with Crossfilter

This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment