The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

SSteve (24) [Avatar] Offline
#1
I copied listing 2.2 from the PDF to create my tweets.json file. I kept getting a null result from d3.json("tweets.json"). It turned out to be because results and favorites are not enclosed in quotes.
elijah.meeks (127) [Avatar] Offline
#2
Re: Listing 2.2: tweets.json
Thanks for that, I've noted it and will correct it.
mikegriffin (8) [Avatar] Offline
#3
Re: Listing 2.2: tweets.json
Thanks - after several hours I decided to see if there was a forum where someone had found the same issue. BTW, it is retweets, not results that is missing quotes as well as favorites of course.
brandtryan (11) [Avatar] Offline
#4
Re: Listing 2.2: tweets.json
I should have looked here first -- been banging my head against the wall trying to get anything other than null to return!