Learn how to turn raw data into rich, interactive web visualizations with the powerful combination of Python and JavaScript. With this hands-on guide, author Kyran Dale teaches you how build a basic dataviz toolchain with best-of-breed Python and JavaScript librariesâ including Scrapy, Matplotlib, Pandas, Flask, and D3â for crafting engaging, browser-based visualizations.
As a working example, throughout the book Dale walks you through transforming Wikipediaâ s table-based list of Nobel Prize winners into an interactive visualization. Youâ ll examine steps along the entire toolchain, from scraping, cleaning, exploring, and delivering data to building the visualization with JavaScriptâ s D3 library. If youâ re ready to create your own web-based data visualizationsâ and know either Python or JavaScriptâ this is the book for you.
- Learn how to manipulate data with Python
- Understand the commonalities between Python and JavaScript
- Extract information from websites by using Pythonâ s web-scraping tools, BeautifulSoup and Scrapy
- Clean and explore data with Pythonâ s Pandas, Matplotlib, and Numpy libraries
- Serve data and create RESTful web APIs with Pythonâ s Flask framework
- Create engaging, interactive web visualizations with JavaScriptâ s D3 library
Kyran Dale is a jobbing programmer, ex research-scientist, recreational hacker, independent researcher, occasional entrepreneur, cross-country runner and improving jazz pianist. During 15 odd years as a research scientist he hacked a lot of code, learned a lot of libraries and settled on some favourite tools. These days he finds Python, Javascript and a little C++ goes a long way to solving most problems out there. He specializes in fast-prototyping and feasibility studies, with an algorithmic bent but is happy to just build cool things.