Data Visualization with Python and JavaScript

Scrape, Clean, Explore, and Transform Your Data

Paperback Engels 2023 2e druk 9781098111878
€ 77,26
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

How do you turn raw, unprocessed, or malformed data into dynamic, interactive web visualizations? In this practical book, author Kyran Dale shows data scientists and analysts-as well as Python and JavaScript developers-how to create the ideal toolchain for the job. By providing engaging examples and stressing hard-earned best practices, this guide teaches you how to leverage the power of best-of-breed Python and JavaScript libraries.

Python provides accessible, powerful, and mature libraries for scraping, cleaning, and processing data. And while JavaScript is the best language when it comes to programming web visualizations, its data processing abilities can't compare with Python's. Together, these two languages are a perfect complement for creating a modern web-visualization toolchain. This book gets you started.

You'll learn how to:
- Obtain data you need programmatically, using scraping tools or web APIs: Requests, Scrapy, Beautiful Soup
- Clean and process data using Python's heavyweight data processing libraries within the NumPy ecosystem: Jupyter notebooks with pandas+Matplotlib+Seaborn
- Deliver the data to a browser with static files or by using Flask, the lightweight Python server, and a RESTful API
- Pick up enough web development skills (HTML, CSS, JS) to get your visualized data on the web
- Use the data you've mined and refined to create web charts and visualizations with Plotly, D3, Leaflet, and other libraries

Specificaties

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Preface
Part I: Basic Toolkit
Part II: Getting Your Data
Part III: Cleaning and Exploring Data with pandas
Part IV: Delivering the Data
Part V: Visualizing Your Data with D3 and Plotly
The Second Edition
Conventions Used in This Book
Using Code Examples
O'Reilly Online Learning
How to Contact Us
Acknowledgments
Second Edition
Introduction
Who This Book Is For
Minimal Requirements to Use This Book
Why Python and JavaScript?
Why Not Python in the Browser?
Why Python for Data Processing
Python's Getting Better All the Time
What You'll Learn
The Choice of Libraries
Preliminaries
The Dataviz Toolchain
1. Scraping Data with Scrapy
2. Cleaning Data with pandas
3. Exploring Data with pandas and Matplotlib
4. Delivering Your Data with Flask
5. Transforming Data into Interactive Visualizations with Plotly and D3
Smaller Libraries
Using the Book
A Little Bit of Context
Summary
Recommended Books

Part I. Basic Toolkit
1. Development Setup
The Accompanying Code
Python
Anaconda
Installing Extra Libraries
Virtual Environments
JavaScript
Content Delivery Networks
Installing Libraries Locally
Databases
Getting MongoDB Up and Running
Easy MongoDB with Docker
Integrated Development Environments
Summary

2. A Language-Learning Bridge Between Python and JavaScript
Similarities and Differences
Interacting with the Code
Python
JavaScript
Basic Bridge Work
Style Guidelines, PEP 8, and use strict
CamelCase Versus Underscore
Importing Modules, Including Scripts
Afgekapt op 60 regels

Managementboek Top 100

€ 77,26
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Data Visualization with Python and JavaScript