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

- Autor:
- Kyran Dale


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 592
- Dostępne formaty:
-
ePubMobi
Opis książki: Data Visualization with Python and JavaScript. Scrape, Clean, Explore & Transform Your Data
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
Wybrane bestsellery
-
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 example...
Data Visualization with Python and JavaScript. 2nd Edition Data Visualization with Python and JavaScript. 2nd Edition
(0,00 zł najniższa cena z 30 dni)228.65 zł
269.00 zł(-15%) -
To drugie, zaktualizowane i poprawione wydanie bestsellerowego podręcznika Programowania w Pythonie pozwoli Ci błyskawicznie zacząć tworzyć kod, który działa! Zaczniesz od zrozumienia podstawowych koncepcji programistycznych, następnie nauczysz się zapewniać programom interaktywność i wykształcis...(0,00 zł najniższa cena z 30 dni)
59.40 zł
99.00 zł(-40%) -
W tej książce omówiono techniki wdrażania systemów na platformie AWS i zasady zarządzania nimi. Zaprezentowano podstawy korzystania z usługi Identity and Access Management oraz narzędzia sieciowe i monitorujące chmury AWS. Poruszono tematy Virtual Private Cloud, Elastic Compute Cloud, równoważeni...
AWS dla administratorów systemów. Tworzenie i utrzymywanie niezawodnych aplikacji chmurowych AWS dla administratorów systemów. Tworzenie i utrzymywanie niezawodnych aplikacji chmurowych
(0,00 zł najniższa cena z 30 dni)47.40 zł
79.00 zł(-40%) -
To kompleksowy podręcznik do nauki programowania w Pythonie. Jego piąte wydanie zostało gruntownie zaktualizowane i rozbudowane o dodatkowe treści. Omówiono tu najnowsze wersje Pythona w liniach 3.X i 2.X, czyli 3.3 i 2.7, i dodano opisy nowych lub rozszerzonych mechanizmów, takich jak obsługa fo...(0,00 zł najniższa cena z 30 dni)
119.40 zł
199.00 zł(-40%) -
Metody statystyczne są kluczowym elementem data science, mimo to niewielu specjalistów data science posiada formalne wykształcenie statystyczne. Kursy i podręczniki o podstawach statystyki, rzadko kiedy omawiają temat z perspektywy data science. W drugim wydaniu tego popularnego podręcznika zosta...
Statystyka praktyczna w data science. 50 kluczowych zagadnień w językach R i Python. Wydanie II Statystyka praktyczna w data science. 50 kluczowych zagadnień w językach R i Python. Wydanie II
(0,00 zł najniższa cena z 30 dni)41.40 zł
69.00 zł(-40%) -
To drugie wydanie bestsellerowego przewodnika po technikach uczenia maszynowego. Wystarczą minimalne umiejętności programistyczne, aby dzięki tej książce nauczyć się budowania i trenowania głębokiej sieci neuronowej. Zawarto tu minimum teorii, a proces nauki jest ułatwiony przez liczne przykłady ...
Uczenie maszynowe z użyciem Scikit-Learn i TensorFlow. Wydanie II Uczenie maszynowe z użyciem Scikit-Learn i TensorFlow. Wydanie II
(0,00 zł najniższa cena z 30 dni)77.40 zł
129.00 zł(-40%) -
To książka przeznaczona dla osób, które posługują się językiem JavaScript i chcą wykorzystać jego możliwości do zbudowania kompletnej aplikacji internetowej. Prezentuje język TypeScript i opisuje jego najlepsze cechy, pokazuje także, w jaki sposób za pomocą takich frameworków jak React, Redux, No...
React, TypeScript i Node. Tworzenie aplikacji internetowych typu fullstack React, TypeScript i Node. Tworzenie aplikacji internetowych typu fullstack
(0,00 zł najniższa cena z 30 dni)65.40 zł
109.00 zł(-40%) -
Lektura tej książki ułatwi Ci pozbycie się obaw przed biblioteką asyncio. Zrozumiesz jej podstawowe elementy, co pozwoli Ci na rozpoczęcie programowania sterowanego zdarzeniami i prostą obsługę tysięcy jednoczesnych połączeń sieciowych. Dowiesz się, dlaczego Asyncio stanowi bezpieczniejszą altern...(0,00 zł najniższa cena z 30 dni)
23.94 zł
39.90 zł(-40%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- ISBN Ebooka:
- 978-14-919-2053-4, 9781491920534
- Data wydania ebooka:
-
2016-06-30
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 23.4MB
- Rozmiar pliku Mobi:
- 23.4MB
Spis treści książki
- Preface
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- Introduction
- Who This Book Is For
- Minimal Requirements to Use This Book
- Who This Book Is For
- Why Python and JavaScript?
- Why Not Python on the Browser?
- Why Python for Data Processing
- Java
- R
- Others
- Pythons Getting Better All the Time
- What Youll 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 D3
- Smaller Libraries
- Using the Book
- A Little Bit of Context
- Summary
- Recommended Books
- 1. Development Setup
- The Accompanying Code
- Python
- Anaconda
- Checking the Anaconda Install
- Installing Extra Libraries
- Virtual Environments
- JavaScript
- Content Delivery Networks
- Installing Libraries Locally
- Databases
- Installing MongoDB
- Integrated Development Environments
- Summary
- I. Basic Toolkit
- 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
- Keeping Your Namespaces Clean
- Outputting Hello World!
- Simple Data Processing
- String Construction
- Significant Whitespace Versus Curly Brackets
- Comments and doc-strings
- Declaring Variables, var
- Strings and Numbers
- Booleans
- Data Containers: Dicts, Objects, Lists, Arrays
- Functions
- Iterating: for Loops and Functional Alternatives
- Conditionals: if, else, elif, switch
- File Input and Output
- Classes and Prototypes
- Differences in Practice
- Method Chaining
- Enumerating a List
- Tuple Unpacking
- Collections
- Underscore
- Functional Array Methods and List Comprehensions
- Map, Reduce, and Filter with Pythons Lambdas
- JavaScript Closures and the Module Pattern
- This Is That
- A Cheat Sheet
- Summary
- 3. Reading and Writing Data with Python
- Easy Does It
- Passing Data Around
- Working with System Files
- CSV, TSV, and Row-Column Data Formats
- JSON
- Dealing with Dates and Times
- SQL
- Creating the Database Engine
- Defining the Database Tables
- Adding Instances with a Session
- Querying the Database
- Easier SQL with Dataset
- MongoDB
- Dealing with Dates, Times, and Complex Data
- Summary
- 4. Webdev 101
- The Big Picture
- Single-Page Apps
- Tooling Up
- The Myth of IDEs, Frameworks, and Tools
- A Text-Editing Workhorse
- Browser with Development Tools
- Terminal or Command Prompt
- Building a Web Page
- Serving Pages with HTTP
- The DOM
- The HTML Skeleton
- Marking Up Content
- CSS
- JavaScript
- Data
- Chromes Developer Tools
- The Elements Tab
- The Sources Tab
- Other Tools
- A Basic Page with Placeholders
- Filling the Placeholders with Content
- Scalable Vector Graphics
- The <svg> Element
- The <g> Element
- Circles
- Applying CSS Styles
- Lines, Rectangles, and Polygons
- Text
- Paths
- Scaling and Rotating
- Working with Groups
- Layering and Transparency
- JavaScripted SVG
- Summary
- II. Getting Your Data
- 5. Getting Data off the Web with Python
- Getting Web Data with the requests Library
- Getting Data Files with requests
- Using Python to Consume Data from a Web API
- Using a RESTful Web API with requests
- Getting Country Data for the Nobel Dataviz
- Using Libraries to Access Web APIs
- Using Google Spreadsheets
- Using the Twitter API with Tweepy
- Scraping Data
- Why We Need to Scrape
- BeautifulSoup and lxml
- A First Scraping Foray
- Getting the Soup
- Selecting Tags
- Crafting Selection Patterns
- Caching the Web Pages
- Scraping the Winners Nationalities
- Summary
- 6. Heavyweight Scraping with Scrapy
- Setting Up Scrapy
- Establishing the Targets
- Targeting HTML with Xpaths
- Testing Xpaths with the Scrapy Shell
- Selecting with Relative Xpaths
- A First Scrapy Spider
- Scraping the Individual Biography Pages
- Chaining Requests and Yielding Data
- Caching Pages
- Yielding Requests
- Scrapy Pipelines
- Scraping Text and Images with a Pipeline
- Specifying Pipelines with Multiple Spiders
- Summary
- III. Cleaning and Exploring Data with Pandas
- 7. Introduction to NumPy
- The NumPy Array
- Creating Arrays
- Array Indexing and Slicing
- A Few Basic Operations
- The NumPy Array
- Creating Array Functions
- Calculating a Moving Average
- Summary
- 8. Introduction to Pandas
- Why Pandas Is Tailor-Made for Dataviz
- Why Pandas Was Developed
- Heterogeneous Data and Categorizing Measurements
- The DataFrame
- Indices
- Rows and Columns
- Selecting Groups
- Creating and Saving DataFrames
- JSON
- CSV
- Excel Files
- SQL
- MongoDB
- Series into DataFrames
- Panels
- Summary
- 9. Cleaning Data with Pandas
- Coming Clean About Dirty Data
- Inspecting the Data
- Indices and Pandas Data Selection
- Selecting Multiple Rows
- Cleaning the Data
- Finding Mixed Types
- Replacing Strings
- Removing Rows
- Finding Duplicates
- Sorting Data
- Removing Duplicates
- Dealing with Missing Fields
- Dealing with Times and Dates
- The Full clean_data Function
- Saving the Cleaned Dataset
- Merging DataFrames
- Summary
- 10. Visualizing Data with Matplotlib
- Pyplot and Object-Oriented Matplotlib
- Starting an Interactive Session
- Interactive Plotting with Pyplots Global State
- Configuring Matplotlib
- Setting the Figures Size
- Points, Not Pixels
- Labels and Legends
- Titles and Axes Labels
- Saving Your Charts
- Figures and Object-Oriented Matplotlib
- Axes and Subplots
- Plot Types
- Bar Charts
- Scatter Plots
- Adding a regression line
- Seaborn
- FacetGrids
- Pairgrids
- Summary
- 11. Exploring Data with Pandas
- Starting to Explore
- Plotting with Pandas
- Gender Disparities
- Unstacking Groups
- Historical Trends
- National Trends
- Prize Winners per Capita
- Prizes by Category
- Historical Trends in Prize Distribution
- Age and Life Expectancy of Winners
- Age at Time of Award
- Life Expectancy of Winners
- Increasing Life Expectancies over Time
- The Nobel Diaspora
- Summary
- IV. Delivering the Data
- 12. Delivering the Data
- Serving the Data
- Organizing Your Flask Files
- Serving Data with Flask
- Serving the Data
- Delivering Static Files
- Dynamic Data with Flask
- A Simple RESTful API with Flask
- Using Static or Dynamic Delivery
- Summary
- 13. RESTful Data with Flask
- A RESTful, MongoDB API with Eve
- Using AJAX to Access the API
- A RESTful, MongoDB API with Eve
- Delivering Data to the Nobel Prize Visualization
- RESTful SQL with Flask-Restless
- Creating the API
- Adding CORS Support
- Querying the API
- Summary
- V. Visualizing Your Data with D3
- 14. Imagining a Nobel Visualization
- Who Is It For?
- Choosing Visual Elements
- Menu Bar
- Prizes by Year
- A Map Showing Selected Nobel Countries
- A Bar Chart Showing Number of Winners by Country
- A List of the Selected Winners
- A Mini-Biography Box with Picture
- The Complete Visualization
- Summary
- 15. Building a Visualization
- Preliminaries
- Core Components
- Organizing Your Files
- Serving the Data
- Preliminaries
- The HTML Skeleton
- CSS Styling
- The JavaScript Engine
- Importing the Scripts
- Basic Data Flow
- The Core Code
- Initializing the Nobel Prize Visualization
- Ready to Go
- Data-Driven Updates
- Filtering Data with Crossfilter
- Creating the filter
- Running the Nobel Prize Visualization App
- Summary
- 16. Introducing D3The Story of a Bar Chart
- Framing the Problem
- Working with Selections
- Adding DOM Elements
- Leveraging D3
- Measuring Up with D3s Scales
- Quantitative Scales
- Ordinal Scales
- Unleashing the Power of D3 with Data Binding
- The enter Method
- Accessing the Bound Data
- The Update Pattern
- Axes and Labels
- Transitions
- Summary
- 17. Visualizing Individual Prizes
- Building the Framework
- Scales
- Axes
- Category Labels
- Nesting the Data
- Adding the Winners with a Nested Data-Join
- A Little Transitional Sparkle
- Summary
- 18. Mapping with D3
- Available Maps
- D3s Mapping Data Formats
- GeoJSON
- TopoJSON
- Converting Maps to TopoJSON
- D3 Geo, Projections, and Paths
- Projections
- Paths
- Graticules
- Putting the Elements Together
- Updating the Map
- Adding Value Indicators
- Our Completed Map
- Building a Simple Tooltip
- Summary
- 19. Visualizing Individual Winners
- Building the List
- Building the Bio-Box
- Summary
- 20. The Menu Bar
- Creating HTML Elements with D3
- Building the Menu Bar
- Building the Category Selector
- Adding the Gender Selector
- Adding the Country Selector
- Wiring Up the Metric Radio Button
- Summary
- 21. Conclusion
- Recap
- 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
- Recap
- Future Progress
- Visualizing Social Media Networks
- Interactive Mapping with Leaflet and Folium
- Machine-Learning Visualizations
- Final Thoughts
- A. Moving from Development to Production
- The Starting Directory
- Configuration
- Configuring Flask
- Configuring the JavaScript App
- Authentication
- Testing Flask Apps
- Testing JavaScript Apps
- Deploying Flask Apps
- Configuring Apache
- Logging and Error Handling
- Index
O'Reilly Media - inne książki
-
Combing the web is simple, but how do you search for data at work? It's difficult and time-consuming, and can sometimes seem impossible. This book introduces a practical solution: the data catalog. Data analysts, data scientists, and data engineers will learn how to create true data discovery in ...(0,00 zł najniższa cena z 30 dni)
228.65 zł
269.00 zł(-15%) -
This updated edition of the Nutshell guide not only helps experienced Java programmers get the most out of versions through Java 17, it also serves as a learning path for new developers. Chock-full of examples that demonstrate how to take complete advantage of modern Java APIs and development bes...(0,00 zł najniższa cena z 30 dni)
228.65 zł
269.00 zł(-15%) -
Get started with Ray, the open source distributed computing framework that simplifies the process of scaling compute-intensive Python workloads. With this practical book, Python programmers, data engineers, and data scientists will learn how to leverage Ray locally and spin up compute clusters. Y...(0,00 zł najniższa cena z 30 dni)
228.65 zł
269.00 zł(-15%) -
Remove your doubts about AI and explore how this technology can be future-proofed using blockchain's smart contracts and tamper-evident ledgers. With this practical book, system architects, software engineers, and systems solution specialists will learn how enterprise blockchain provides permanen...(0,00 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(0,00 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(0,00 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(0,00 zł najniższa cena z 30 dni)
194.65 zł
229.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(0,00 zł najniższa cena z 30 dni)
305.15 zł
359.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(0,00 zł najniższa cena z 30 dni)271.15 zł
319.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(0,00 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Data Visualization with Python and JavaScript. Scrape, Clean, Explore & Transform Your Data Kyran Dale (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.