Data Visualization with Python and JavaScript. 2nd Edition

- Autor:
- Kyran Dale


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 568
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Data Visualization with Python and JavaScript. 2nd Edition
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
Wybrane bestsellery
-
Ta książka jest kompleksowym wprowadzeniem do matematyki dyskretnej, przydatnym dla każdego, kto chce pogłębić i ugruntować swoje umiejętności informatyczne. W zrozumiały sposób przedstawiono tu metody matematyki dyskretnej i ich zastosowanie w algorytmach i analizie danych, włączając w to techni...
Matematyka dyskretna dla praktyków. Algorytmy i uczenie maszynowe w Pythonie Matematyka dyskretna dla praktyków. Algorytmy i uczenie maszynowe w Pythonie
(41.40 zł najniższa cena z 30 dni)44.85 zł
69.00 zł(-35%) -
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
(51.35 zł najniższa cena z 30 dni)51.35 zł
79.00 zł(-35%) -
To kolejne wydanie lubianego samouczka, dzięki któremu w ramach 24 godzinnych lekcji przyswoisz solidne podstawy programowania. Zrozumiesz, jak działają programy, i nauczysz się reguł stosowanych przez profesjonalistów przy ich projektowaniu. Dowiesz się, jak wygląda świat programistów i na czym ...
Programowanie dla początkujących w 24 godziny. Wydanie IV Programowanie dla początkujących w 24 godziny. Wydanie IV
(34.50 zł najniższa cena z 30 dni)37.95 zł
69.00 zł(-45%) -
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...(59.40 zł najniższa cena z 30 dni)
64.35 zł
99.00 zł(-35%) -
Z tej książki skorzystasz, nawet gdy nie masz żadnego doświadczenia w projektowaniu i tworzeniu oprogramowania. Dzięki prostym przykładom i zrozumiałemu pseudokodowi, schematom blokowym oraz innym narzędziom zdobędziesz wiedzę o projektowaniu oprogramowania i jego implementowania w języku Python....
Python dla zupełnie początkujących. Owoce programowania. Wydanie IV Python dla zupełnie początkujących. Owoce programowania. Wydanie IV
(49.50 zł najniższa cena z 30 dni)54.45 zł
99.00 zł(-45%) -
Ta książka jest zwięzłym, skupionym na praktyce przewodnikiem po Pythonie w wersji 3.6 i nowszych. Dzięki niej skoncentrujesz się na rdzeniu języka i podstawowych zagadnieniach, które musisz doskonale opanować, jeśli chcesz pisać w nim dobry kod. Dowiesz się zatem, jak działa Python i jakich zasa...(41.40 zł najniższa cena z 30 dni)
44.85 zł
69.00 zł(-35%) -
E-commerce wspierany przez potężną moc sztucznej inteligencji ― to dla wielu właścicieli rodzimych firm internetowych wciąż brzmi jak odległa przyszłość. Może gdzieś tam, w Kalifornii, może u technologicznych gigantów, może Apple, Amazon, a bliżej nas, powiedzmy, Allegro korzysta lub będzie...(59.40 zł najniższa cena z 30 dni)
64.35 zł
99.00 zł(-35%) -
Tę książkę docenią ci, którzy opanowali już podstawową składnię Pythona i palą się do pisania własnych programów. Zawiera 81 projektów, które możesz napisać w tym języku. Programy składają się z maksymalnie 256 linii kodu i pozwolą Ci stopniowo nabierać umiejętności programisty - a zupełnie przy ...
Wielka księga małych projektów w Pythonie. 81 łatwych praktycznych programów Wielka księga małych projektów w Pythonie. 81 łatwych praktycznych programów
(47.40 zł najniższa cena z 30 dni)51.35 zł
79.00 zł(-35%) -
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...(119.40 zł najniższa cena z 30 dni)
129.35 zł
199.00 zł(-35%)
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 dowolnych 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 dowolnych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły ebooka
- ISBN Ebooka:
- 978-10-981-1182-3, 9781098111823
- Data wydania ebooka:
-
2022-12-07
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@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 13.5MB
- Rozmiar pliku Mobi:
- 26.6MB
Spis treści ebooka
- 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
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- Second Edition
- Introduction
- Who This Book Is For
- Minimal Requirements to Use This Book
- Who This Book Is For
- Why Python and JavaScript?
- Why Not Python in 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 Plotly and D3
- Smaller Libraries
- Using the Book
- A Little Bit of Context
- Summary
- Recommended Books
- 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
- JavaScript Modules
- Keeping Your Namespaces Clean
- Outputting Hello World!
- Simple Data Processing
- String Construction
- Significant Whitespace Versus Curly Brackets
- Comments and Doc-Strings
- Declaring Variables Using let or 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
- 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
- Chrome DevTools
- The Elements Tab
- The Sources Tab
- Other Tools
- A Basic Page with Placeholders
- Positioning and Sizing Containers with Flex
- Filling the Placeholders with Content
- Scalable Vector Graphics
- 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
- Consuming 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
- Beautiful Soup 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
- Categorizing Data and Measurements
- The DataFrame
- Indices
- Rows and Columns
- Selecting Groups
- Creating and Saving DataFrames
- JSON
- CSV
- Excel Files
- SQL
- MongoDB
- Series into DataFrames
- 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
- Adding the born_in column
- Merging DataFrames
- Saving the Cleaned Datasets
- 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 Data Files
- Dynamic Data with Flask APIs
- A Simple Data API with Flask
- Using Static or Dynamic Delivery
- Summary
- 13. RESTful Data with Flask
- The Tools for a RESTful Job
- Creating the Database
- A Flask RESTful Data Server
- Serializing with marshmallow
- Adding our RESTful API Routes
- Posting Data to the API
- Extending the API with MethodViews
- Paginating the Data Returns
- Deploying the API Remotely with Heroku
- CORS
- Consuming the API Using JavaScript
- Summary
- V. Visualizing Your Data with D3 and Plotly
- 14. Bringing Your Charts to the Web with Matplotlib and Plotly
- Static Charts with Matplotlib
- Adapting to Screen Sizes
- Using Remote Images or Assets
- Static Charts with Matplotlib
- Charting with Plotly
- Basic Charts
- Plotly Express
- Plotly Graph-Objects
- Mapping with Plotly
- Adding Custom Controls with Plotly
- From Notebook to Web with Plotly
- Native JavaScript Charts with Plotly
- Fetching JSON Files
- User-Driven Plotly with JavaScript and HTML
- Summary
- 15. 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
- 16. Building a Visualization
- Preliminaries
- Core Components
- Organizing Your Files
- Serving the Data
- Preliminaries
- The HTML Skeleton
- CSS Styling
- The JavaScript Engine
- Importing the Scripts
- Modular JS with Imports
- 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
- 17. 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/Joining
- Updating the DOM with Data
- Putting the Bar Chart Together
- Axes and Labels
- Transitions
- Updating the Bar Chart
- Summary
- 18. 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
- Updating the Bar Chart
- Summary
- 19. 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
- Updating the Map
- Summary
- 20. Visualizing Individual Winners
- Building the List
- Building the Bio-Box
- Updating the Winners List
- Summary
- 21. 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
- 22. 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 and Plotly
- Recap
- Future Progress
- Visualizing Social Media Networks
- Machine-Learning Visualizations
- Final Thoughts
- A. D3s enter/exit Pattern
- The enter Method
- Accessing the Bound Data
- 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 ...(228.65 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...(228.65 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...(228.65 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...(271.15 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...(271.15 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...(271.15 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 ...(194.65 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...(305.15 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
(262.65 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...(271.15 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. 2nd Edition 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.