Skip to content

Instantly share code, notes, and snippets.

@jkeohan
Created July 23, 2015 15:26
Show Gist options
  • Save jkeohan/3f9ab440553f6a688937 to your computer and use it in GitHub Desktop.
Save jkeohan/3f9ab440553f6a688937 to your computer and use it in GitHub Desktop.
D3.js Step by Step: Step 1 - A Basic Bar Graph
var data = tributary.data;
console.log(data);
{"description":"D3.js Step by Step: Step 1 - A Basic Bar Graph","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"data.csv":{"default":true,"vim":false,"emacs":false,"fontSize":12},"barChart.js":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":true,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"ajax-caching":true}
Latitude Longitude CMT Primary Segment Site Name Region Engagement Country City Training
5.317 -4.017 No Chocolate Abidjan META Zero Ivory Coast Abidjan None
5.466997 -0.164795 No Chocolate Accra META Zero Ghana Accra None
31.5778 -84.17562 No Chocolate Albany North America Partial: Training 2 United States Albany 2014-Submitted
45.9 6.1166667 No Pets Annecy Western Europe Zero France Annecy None
35.300177 -94.289684 No Pets Ft. Smith North America Zero United States Ft. Smith None
41.0666667 -4.7166667 Yes Pets Arevalo Western Europe Partial: CMT 2 Spain Arevalo, Avila None
-33.693695 151.115003 Yes WRG Asquith/WRG Austrailia Asia Pacific Full Australia Asquith NSW 2014-Submitted
14.5709688 121.0255233 No WRG Antipolo Asia Pacific Zero Philippines Makati None
37.983 23.733 No Food Athens Western Europe Zero Greece Peania None
21.5 39.17 No Chocolate Saudi Arabia META Zero Saudi Arabia TBD None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment