Anurag Rana          Projects     Contact Me     Blog    
Top (max 10) reviews: Data Visualization with Python and JavaScript: Scrape, Clean, Explore & Transform Your Data.

3.8 out of 5.0    12 total reviews.

Buy This Book
All Books
5.0 out of 5.0 -

by OmoYelaO on Jan. 18, 2018


5.0 out of 5.0 -

by William P Ross on Sept. 14, 2016

This book does an excellent job of showing how to create a website for Data Visualization. Python and Javascript are the choosen languages along with many libraries. The choice of Python was for its strength in manipulating data, and Javascript is used for the front-end, particularly the D3 library.
Throughout the book there is an example which uses data about Nobel Prize winners. The data is pulled from Wikipedia, cleaned, analyzed, hosted, and visualized. Each step of the process was explained well.
The beginning of the book starts by introducing Python and Javascript; how they are different and how they are similar. Then each step of the 5-step process is explained with multiple chapters dedicated to each step. I was surprised how often the author had the meta-view to know which libraries were best, and to be able to link to all the right places. There are no random links, or extraneous information, everything was relevant to the goal of creating the site.
Language in the book is better than most as the author takes times to explain in interesting ways. On page 274 when introducting different graph types he says: "The humble bar chart is a staple for a lot of visual data exploration." What a nice way to explain the importance of the bar chart.
At the end I had a clear picture of how to build an impressive data visualization website form scratch. It was great to see an author who can provide a full-stack implementation and explain each aspect with ease.
This book is in color which I really appreciated. It helped a lot to have syntax highlighting and I hope O'rielly does this for all their other books. The dimensions of the book is smaller than other O'rielly books as well; it was comfortable.

5.0 out of 5.0 -

by Just a Guy on Dec. 14, 2016

Forgive the long winded review, but this book really resonated with me because (I think) I happen to align just about spot-on with its intended audience. I needed to setup a visualization dashboard to take in GBs of data weekly, and allow users to easily view it at various levels of granularity and slice through various directions in data space. This was for chip design data, so the data elements at their worst could represent hundreds of millions of transistors and connections, and the various data spaces could be timing, power, layout (physical space), time (timestamps) and so forth. But the specifics of the data are not important - the point is that there was a lot of it, and that users needed to interactively examine it.
After introductory chapters covering foundational matters in python, javascript, html, css, and svg, Dale works through each stage of the data acquisition, processing, and visualization flow, following a nontrivial example project from the very beginning all the way through to completion.
The first sections cover data procurement, cleaning techniques, and exploratory data visualization with pandas and matplotlib. Although in my case this portion of the flow was not as crucial (my data was more or less easy pickings and familiar), I did get a nice instructive window into some the issues that the "data science" crowd routinely worry about. I expect to benefit much more from this material in the future, as it is certain I'll have to confront less familiar datasets at some point. See the TOC online, as there is a lot of nice material here that, as it happens, I didn't yet need to dig into for my particular project. This time, that is.
Since I already knew most of the requirements for my visualizations, my work started in earnest with the web app. This is where Dale's book really laid out a clear, detailed path for me.
On the server side, his choice of the Flask micro web framework was a good fit, and the explanations were clear and helpful. Like many, I have in recent years become enamored of scripting in python, and Flask is a nice lightweight framework in which to easily code up a solid data delivery interface. I opted for MongoDB storage, but SQL is supported too; both are covered in the book. It's all spelled out, and it was straightforward to apply his techniques to my problem. One of the keys to making this work for me was his prescription for how to make a clean so-called REST interface, including - crucially - pagination, to throttle loads of JSON data from the server to the client via ajax.
Then, on the client side, crossfilter.js and d3.js make it possible to produce some very sophisticated (and beautiful) visualizations. Crossfilter and d3, with all their subtleties and moving parts, are not easy tools to master - at least not for me. And there is perhaps an over abundance of code snippets out there on the web, a kind of fast food diet that does not provide sufficient understanding necessary to prevent the inevitable frustration later on when this approach starts to let you down. So Dale's step by step, screenshot by screenshot walkthroughs, with excellent color diagrams, really helped tremendously here. I have not seen better explanations anywhere.
Final notes: The various sections of the book are relatively independent and can stand alone; depending on your background, you may be able to skip around and hunt for exactly what you need. If you are in a short term deadline situation, this may very well be the best approach initially. A reasonable skim of the appropriate section(s) of the book and a bit of copy-paste with the code should get you on your way.
But, speaking generally, I would tend to advise against such an approach, especially when you're not under time pressure. This book is more of a running storyline and workshop than a quick-reference cookbook. A hunt-copy-paste approach could very well blind you to the whole point, and lead you to toss the book aside, incorrectly concluding that it won't help you after all. And even if you reap some quick early victories, you may still miss out on unexpected goodies that you'll later wish you hadn't. Instead, a more careful, active study is required to gain the fluency with these tools that you actually need so that they won't crumble when you try to apply them in new circumstances. If you make the effort, this extraordinary book will show you how to gain this fluency.

2.0 out of 5.0 -

by W. Westfall on June 6, 2017

First of all I'll mention that what I'm about to describe is an issue with O'Reilly books in general. So general message to O'Reilly: please hire some testers for your books! I really needed this book to be a home run so I could get through the basics and dive into the meat without wasting time. But instead I'm debugging Sqlite adds in Python, and now looking at manually adding the Sqlite data just to get around the non functional code. When you spend 4 hours no Sqlite on a book dedicated to Python and Javascript, you know there's a problem. Such a shame, this book has such promise, but lack of testing and fact checking sinks yet another O'Reilly book

3.0 out of 5.0 -

by Amazon Customer on Nov. 15, 2016

There are way too many errors. Currently on Chapter 3 and already have to use stackoverflow.
Example 3.1 with nobel_winners, where do I start? First, that's not a csv like the author describes. Then from a different Python file, he attempts to open it using a namespace that hasn't been set yet throwing an error. The list goes on.
So much potential, but constantly having to take time to check why errors are happening does get repetitive.

5.0 out of 5.0 -

by Kristoph Reign on July 21, 2016

Pretty solid book, I wish it went more in depth on other methods of scraping and building crawlers and such. It seems like every book skips the theory and just says use scrapy. Bought the print version and am very pleased with it so far. I've made it about 3/4ths of the way through, it's a good intro to this stuff.

5.0 out of 5.0 -

by Amazon Customer on Sept. 1, 2016

Clearly written. Appreciated that it focused on building a concrete project.

5.0 out of 5.0 -

by S.Ahmed on Nov. 4, 2016

Perfect! This is what i was waiting for ..

5.0 out of 5.0 -

by Jason on March 9, 2017

Among the absolute best books on this subject. Well structured.

5.0 out of 5.0 -

by MichaelC on Jan. 7, 2017

great book, easy to follow.