"use strict"; // set up basic variables and SVG var width = 500, height = 800 var svg = d3.select("body").append("svg") .attr("width", width) .attr("height", height) // read in data (switch to 'minneapolis.csv' if you want that city instead) d3.csv("sanfrancisco.csv", function(error, sfWeather) { if(error) console.log(error) console.log('san francisco weather data', sfWeather) // uncomment below lines if you want to have both cities //d3.csv("minneapolis.csv", function(error, minneapolisWeather) { // if(error) // console.log(error) // console.log('minneapolis weather data', minneapolisWeather) //}) })