Data Visualization with Python and JavaScript: Scrape, Clean, Explore & Transform Your Data

Kyran Dale

買這商品的人也買了...

商品描述

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

商品描述(中文翻譯)

學習如何使用Python和JavaScript將原始數據轉換為豐富、互動的網絡可視化。在這本實踐指南中,作者Kyran Dale教你如何使用最佳的Python和JavaScript庫(包括Scrapy、Matplotlib、Pandas、Flask和D3)構建基本的數據可視化工具鏈,以製作引人入勝的基於瀏覽器的可視化效果。

作為一個實際示例,本書中Dale通過將維基百科的基於表格的諾貝爾獎得主列表轉換為互動可視化效果,引導讀者了解整個工具鏈的步驟,從網絡爬蟲、數據清理、數據探索到使用JavaScript的D3庫構建可視化效果。如果你準備創建自己的基於網絡的數據可視化效果,並且熟悉Python或JavaScript,這本書非常適合你。

本書內容包括:
- 學習如何使用Python操作數據
- 了解Python和JavaScript之間的共同點
- 使用Python的網絡爬蟲工具BeautifulSoup和Scrapy從網站提取信息
- 使用Python的Pandas、Matplotlib和Numpy庫清理和探索數據
- 使用Python的Flask框架提供數據並創建RESTful網絡API
- 使用JavaScript的D3庫創建引人入勝、互動的網絡可視化效果