Skip to content

Instantly share code, notes, and snippets.

View nadinesk's full-sized avatar

Nadine Fischoff nadinesk

  • Nadine Fischoff
  • San Diego, CA
View GitHub Profile
@nadinesk
nadinesk / README.md
Last active August 29, 2015 14:05
Slider and Circle Radius Example: Armed Conflicts by Region

This example uses a slider to change circles' radii based on data in a csv file. The framework for this began with the Let's Make a Bar Chart Tutorial III. My goal was to start simple and understand the basics with a few circles (inspired by a vision of a much less complicated verstion of this data visualization. I changed the rectangles to circles, and removed the y axis first; my example uses 68 years of data rather than the one year in the tutorial: I used a for loop to equate the column header (years) value to the slider property value, and return data for each column in this way. Maybe there's a better way? I took data from the Uppsala Department of Peace and Conflict Research, and coded in the armed conflict location's regions based on Wikipedia's categorization. I th

@nadinesk
nadinesk / README.md
Last active August 29, 2015 14:05
Number of Armed Conflicts

This bar chart shows the number of armed conflicts in the world from 1946 to 2013. Data is from the [Uppsala Data Conflict Program (UDCP)] (http://www.pcr.uu.se/research/ucdp/datasets/). The largest number of conflicts was in 1991: 52 conflicts.

The bar chart expands upon the [Let's Make a Bar Chart tutorials] (http://bost.ocks.org/mike/bar/).

And just for information's sake, here is a list of the locations of the 52 unique conflicts occuring in 1991, the peak year for the data.

  • Philippines
  • India, Pakistan
  • Myanmar (Burma)
  • Myanmar (Burma)
@nadinesk
nadinesk / 2013BAHomeVal.csv
Last active August 29, 2015 14:04
San Francisco Bay Area (9 counties) 2013 Home Values Choropleth
zip value2013 value2008 value2003 value1998 county
94109 791933.3333 720816.6667 606433.3333 353908.3333 San Francisco
94565 214566.6667 299166.6667 296358.3333 134183.3333 Contra Costa
94501 653933.3333 596175 488175 252816.6667 Alameda
94110 910675 769283.3333 545175 282708.3333 San Francisco
94558 424841.6667 511600 444741.6667 213220 Napa
94533 196533.3333 271358.3333 270666.6667 123366.6667 Solano
94536 617983.3333 571600 464450 268875 Alameda
94122 857741.6667 780466.6667 598783.3333 339725 San Francisco
94509 209008.3333 278066.6667 293241.6667 138991.6667 Contra Costa