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
-
Czy chcesz odkryć świat kodowania i stać się młodym programistą w zaledwie jeden dzień? Czy chcesz nauczyć się języka, który otworzy przed tobą drzwi do fascynującego świata technologii? Czy chcesz tworzyć własne gry, aplikacje i nie tylko, korzystając z Pythona, jednego z najbardziej przyjaz...
Python w 1 dzień dla najmłodszych. Naucz się kodowania w Pythonie w 12 godzin Python w 1 dzień dla najmłodszych. Naucz się kodowania w Pythonie w 12 godzin
-
W tej książce omówiono ponad 20 najprzydatniejszych wzorców projektowych, dzięki którym tworzone aplikacje internetowe będą łatwe w późniejszej obsłudze technicznej i w trakcie skalowania. Poza wzorcami projektowymi przedstawiono wzorce generowania i wydajności działania, których znaczenie dla uż...
Wzorce projektowe w JavaScripcie. Przewodnik dla programistów JavaScriptu i Reacta. Wydanie II Wzorce projektowe w JavaScripcie. Przewodnik dla programistów JavaScriptu i Reacta. Wydanie II
(41.40 zł najniższa cena z 30 dni)48.30 zł
69.00 zł(-30%) -
Oto uzupełnione i zaktualizowane wydanie bestsellerowego przewodnika dla inżynierów sieci. Dzięki niemu przejdziesz trudną (ale ekscytującą!) drogę od tradycyjnej platformy do platformy sieciowej opartej na najlepszych praktykach programistycznych. Zaczniesz od zagadnień podstawowych, aby następn...
Zaawansowana inżynieria sieci w Pythonie. Automatyzacja, monitorowanie i zarządzanie chmurą. Wydanie IV Zaawansowana inżynieria sieci w Pythonie. Automatyzacja, monitorowanie i zarządzanie chmurą. Wydanie IV
(77.40 zł najniższa cena z 30 dni)90.30 zł
129.00 zł(-30%) -
Oto drugie, zaktualizowane i uzupełnione wydanie przewodnika po bibliotece Pandas. Dzięki tej przystępnej książce nauczysz się w pełni korzystać z możliwości oferowanych przez bibliotekę, nawet jeśli dopiero zaczynasz przygodę z analizą danych w Pythonie. Naukę rozpoczniesz z użyciem rzeczywisteg...
Jak analizować dane z biblioteką Pandas. Praktyczne wprowadzenie. Wydanie II Jak analizować dane z biblioteką Pandas. Praktyczne wprowadzenie. Wydanie II
(65.40 zł najniższa cena z 30 dni)76.30 zł
109.00 zł(-30%) -
Zanurz się w fascynujący świat programowania w języku Python i osiągnij imponujący poziom umiejętności w zaledwie 24 godziny! Oto kilka zalet, które sprawiają, że ta książka jest niezbędna dla każdego aspirującego programisty: Szybki start: podstawy Pythona już w pierwszych godzinach nauki ...
Python w 1 dzień. Nauka programowania w Pythonie w 24 godziny od A do Z Python w 1 dzień. Nauka programowania w Pythonie w 24 godziny od A do Z
-
To książka przeznaczona dla osób, które pracują ze zbiorami danych. Jest praktycznym przewodnikiem po koncepcjach algebry liniowej, pomyślanym tak, by ułatwić ich zrozumienie i zastosowanie w użytecznych obliczeniach. Poszczególne zagadnienia przedstawiono za pomocą kodu Pythona, wraz z przykłada...
Praktyczna algebra liniowa dla analityków danych. Od podstawowych koncepcji do użytecznych aplikacji w Pythonie Praktyczna algebra liniowa dla analityków danych. Od podstawowych koncepcji do użytecznych aplikacji w Pythonie
(46.20 zł najniższa cena z 30 dni)53.90 zł
77.00 zł(-30%) -
Ta książka stanowi wszechstronne omówienie wszystkich bibliotek Pythona, potrzebnych naukowcom i specjalistom pracującym z danymi. Znalazł się tu dokładny opis IPythona, NumPy, Pandas, Matplotlib, Scikit-Learn i innych narzędzi. Podręcznik uwzględnia przede wszystkim ich aspekty praktyczne, dzięk...
Python Data Science. Niezbędne narzędzia do pracy z danymi. Wydanie II Python Data Science. Niezbędne narzędzia do pracy z danymi. Wydanie II
(77.40 zł najniższa cena z 30 dni)90.30 zł
129.00 zł(-30%) -
To trzecie, zaktualizowane i uzupełnione wydanie bestsellerowego podręcznika programowania w Pythonie. Naukę rozpoczniesz od podstawowych koncepcji programowania. Poznasz takie pojęcia jak zmienne, listy, klasy i pętle, a następnie utrwalisz je dzięki praktycznym ćwiczeniom. Dowiesz się, jak zape...(71.40 zł najniższa cena z 30 dni)
83.30 zł
119.00 zł(-30%) -
Django służy do tworzenia aplikacji internetowych w Pythonie. Pozwala w pełni skorzystać z zalet tego języka, a przy tym jest łatwy do nauki. Praca z Django jest atrakcyjna dla programistów o różnym stopniu zaawansowania, co potwierdzają badania ankietowe serwisu Stack Overflow. Aby...
Django 4. Praktyczne tworzenie aplikacji sieciowych. Wydanie IV Django 4. Praktyczne tworzenie aplikacji sieciowych. Wydanie IV
(77.40 zł najniższa cena z 30 dni)90.30 zł
129.00 zł(-30%)
Ebooka "Data Visualization with Python and JavaScript. 2nd Edition" 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 "Data Visualization with Python and JavaScript. 2nd Edition" 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 "Data Visualization with Python and JavaScript. 2nd Edition" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
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
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(177.65 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
177.65 zł
209.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
What will you learn from this book?If you're a software developer looking for a quick on-ramp to software architecture, this handy guide is a great place to start. From the authors of Fundamentals of Software Architecture, Head First Software Architecture teaches you how to think architecturally ...(237.15 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(245.65 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.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.
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.
Książka drukowana
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.