Data visualization with Python and JavaScript: scrape, clean, explore & transform your data
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Beijing ; Boston ; Farnham ; Sebastopol ; Tokyo
O'Reilly
July 2016
|
Ausgabe: | First edition |
Schlagworte: | |
Online-Zugang: | FWS01 FWS02 UBY01 Inhaltsverzeichnis |
Beschreibung: | 1 Online-Ressource (581 Seiten) Illustrationen, Diagramme (überwiegend farbig) |
ISBN: | 9781491920510 9781491920541 |
Internformat
MARC
LEADER | 00000nmm a2200000 c 4500 | ||
---|---|---|---|
001 | BV043850814 | ||
003 | DE-604 | ||
005 | 20200818 | ||
007 | cr|uuu---uuuuu | ||
008 | 161028s2016 |||| o||u| ||||||eng d | ||
020 | |a 9781491920510 |c Print |9 978-1-491-92051-0 | ||
020 | |a 9781491920541 |c Online |9 978-1-491-92054-1 | ||
035 | |a (OCoLC)965331075 | ||
035 | |a (DE-599)BVBBV043850814 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-863 |a DE-862 |a DE-706 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 320 |0 (DE-625)143657: |2 rvk | ||
100 | 1 | |a Dale, Kyran |e Verfasser |0 (DE-588)1112956220 |4 aut | |
245 | 1 | 0 | |a Data visualization with Python and JavaScript |b scrape, clean, explore & transform your data |c Kyran Dale |
250 | |a First edition | ||
264 | 1 | |a Beijing ; Boston ; Farnham ; Sebastopol ; Tokyo |b O'Reilly |c July 2016 | |
264 | 4 | |c © 2016 | |
300 | |a 1 Online-Ressource (581 Seiten) |b Illustrationen, Diagramme (überwiegend farbig) | ||
336 | |b txt |2 rdacontent | ||
337 | |b c |2 rdamedia | ||
338 | |b cr |2 rdacarrier | ||
650 | 4 | |a Information visualization | |
650 | 4 | |a Python (Computer program language) | |
650 | 4 | |a JavaScript (Computer program language) | |
650 | 7 | |a Information visualization |2 fast | |
650 | 7 | |a JavaScript (Computer program language) |2 fast | |
650 | 7 | |a Python (Computer program language) |2 fast | |
650 | 0 | 7 | |a JavaScript |0 (DE-588)4420180-1 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Visualisierung |0 (DE-588)4188417-6 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Information |0 (DE-588)4026899-8 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Information |0 (DE-588)4026899-8 |D s |
689 | 0 | 1 | |a Visualisierung |0 (DE-588)4188417-6 |D s |
689 | 0 | 2 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |D s |
689 | 0 | 3 | |a JavaScript |0 (DE-588)4420180-1 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029261134&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
912 | |a ZDB-30-PQE | ||
999 | |a oai:aleph.bib-bvb.de:BVB01-029261134 | ||
966 | e | |u https://ebookcentral.proquest.com/lib/fhws/reader.action?docID=4573768 |l FWS01 |p ZDB-30-PQE |x Aggregator |3 Volltext | |
966 | e | |u https://ebookcentral.proquest.com/lib/fhws/reader.action?docID=4573768 |l FWS02 |p ZDB-30-PQE |x Aggregator |3 Volltext | |
966 | e | |u https://ebookcentral.proquest.com/lib/unibwm/detail.action?docID=4573768 |l UBY01 |p ZDB-30-PQE |q UBY01_Einzelkauf20 |x Aggregator |3 Volltext |
Datensatz im Suchindex
DE-BY-FWS_katkey | 629269 |
---|---|
_version_ | 1806180232650031104 |
adam_text | Titel: Data visualization with Python and JavaScript
Autor: Dale, Kyran
Jahr: 2016
Table of Contents
Preface....................................................... ix
Introduction.................................................. xv
1. Development Setup..........................................1
The Accompanying Code 1
Python 1
JavaScript 5
Databases 6
Integrated Development Environments 8
Summary 8
Parti. Basic Toolkit
2. A Language-Learning Bridge Between Python and JavaScript... 13
Similarities and Differences 14
Interacting with the Code 15
Basic Bridge Work 18
Differences in Practice 42
A Cheat Sheet 54
Summary 56
3. Reading and Writing Data with Python.......................59
Easy Does It 59
Passing Data Around 60
Working with System Files 61
CSV, TSV, and Row-Column Data Formats 62
JSON 65
SQL 69
MongoDB 79
Dealing with Dates, Times, and Complex Data 84
Summary 86
4. Webdev101.............................................. 87
The Big Picture 87
Single-Page Apps 88
Tooling Up 88
Building a Web Page 93
Chrome s Developer Tools 102
A Basic Page with Placeholders 105
Scalable Vector Graphics 109
Summary 125
Partii. Getting Your Data
5. Getting Data off the Web with Python.......................129
Getting Web Data with the requests Library 129
Getting Data Files with requests 130
Using Python to Consume Data from a Web API 134
Using Libraries to Access Web APIs 140
Scraping Data 146
Getting the Soup 149
Selecting Tags 149
Summary 159
6. Heavyweight Scraping with Scrapy......................... 161
Setting Up Scrapy 163
Establishing the Targets 164
Targeting HTML with Xpaths 165
A First Scrapy Spider 171
Scraping the Individual Biography Pages 177
Chaining Requests and Yielding Data 180
Scrapy Pipelines 185
Scraping Text and Images with a Pipeline 187
Summary 194
iv I Table of Contents
Part III. Cleaning and Exploring Data with Pandas
7. Introduction to NumPy....................................197
The NumPy Array 198
Creating Array Functions 204
Summary 206
8. Introduction to Pandas....................................207
Why Pandas Is Tailor-Made for Dataviz 207
Why Pandas Was Developed 207
Heterogeneous Data and Categorizing Measurements 208
TheDataFrame 210
Creating and Saving DataFrames 214
Series into DataFrames 223
Panels 225
Summary 226
9. Cleaning Data with Pandas................................ 229
Coming Clean About Dirty Data 229
Inspecting the Data 231
Indices and Pandas Data Selection 235
Cleaning the Data 239
The Full clean_data Function 256
Saving the Cleaned Dataset 257
Summary 259
10. Visualizing Data with Matplotlib........................... 261
Pyplot and Object-Oriented Matplotlib 261
Starting an Interactive Session 262
Interactive Plotting with Pyplot s Global State 264
Figures and Object-Oriented Matplotlib 269
Plot Types 274
Seaborn 282
Summary 291
11. Exploring Data with Pandas............................... 293
Starting to Explore 294
Plotting with Pandas 296
Gender Disparities 297
National Trends 304
Age and Life Expectancy of Winners 316
Table of Contents | v
The Nobel Diaspora
Summary
323
325
Part IV. Delivering the Data
12. Delivering the Data.......................................329
Serving the Data 330
Delivering Static Files 336
Dynamic Data with Flask 340
Using Static or Dynamic Delivery 344
Summary 344
13. RESTful Data with Flask................................... 347
A RESTful, MongoDB API with Eve 348
Delivering Data to the Nobel Prize Visualization 356
RESTful SQL with Flask-Restless 361
Summary 365
Part V. Visualizing Your Data with D3
14. Imagining a Nobel Visualization............................369
Who Is It For? 369
Choosing Visual Elements 370
Menu Bar 371
Prizes by Year 372
A Map Showing Selected Nobel Countries 373
A Bar Chart Showing Number of Winners by Country 375
A List of the Selected Winners 375
The Complete Visualization 377
Summary 378
15. Building a Visualization................................... 379
Preliminaries 380
The HTML Skeleton 382
CSS Styling 386
The JavaScript Engine 390
Running the Nobel Prize Visualization App 404
Summary 405
vi I Table of Contents
16. Introducing D3—The Story of a Bar Chart................... 407
Framing the Problem 408
Working with Selections 408
Adding DOM Elements 412
Leveraging D3 418
Measuring Up with D3 s Scales 418
Unleashing the Power of D3 with Data Binding 423
The enter Method 425
Accessing the Bound Data 429
The Update Pattern 430
Axes and Labels 436
Transitions 442
Summary 447
17. Visualizing Individual Prizes............................... 449
Building the Framework 449
Scales 450
Axes 451
Category Labels 452
Nesting the Data 454
Adding the Winners with a Nested Data-Join 456
A Little Transitional Sparkle 460
Summary 463
18. Mapping with D3.........................................465
Available Maps 466
D3 s Mapping Data Formats 467
D3 Geo, Projections, and Paths 471
Putting the Elements Together 477
Updating the Map 481
Adding Value Indicators 484
Our Completed Map 487
Building a Simple Tooltip 488
Summary 491
19. Visualizing Individual Winners............................. 493
Building the List 494
Building the Bio-Box 497
Summary 500
Table of Contents | vii
20. The Menu Bar............................................503
Creating HTML Elements with D3 504
Building the Menu Bar 504
Summary 514
21. Conclusion............................................................................................515
Recap 515
Future Progress 518
Final Thoughts 521
A. Moving from Development to Production..........................................523
Index..............................................................................................................545
viii I Table of Contents
|
any_adam_object | 1 |
author | Dale, Kyran |
author_GND | (DE-588)1112956220 |
author_facet | Dale, Kyran |
author_role | aut |
author_sort | Dale, Kyran |
author_variant | k d kd |
building | Verbundindex |
bvnumber | BV043850814 |
classification_rvk | ST 250 ST 320 |
collection | ZDB-30-PQE |
ctrlnum | (OCoLC)965331075 (DE-599)BVBBV043850814 |
discipline | Informatik |
edition | First edition |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>02607nmm a2200553 c 4500</leader><controlfield tag="001">BV043850814</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20200818 </controlfield><controlfield tag="007">cr|uuu---uuuuu</controlfield><controlfield tag="008">161028s2016 |||| o||u| ||||||eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781491920510</subfield><subfield code="c">Print</subfield><subfield code="9">978-1-491-92051-0</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781491920541</subfield><subfield code="c">Online</subfield><subfield code="9">978-1-491-92054-1</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)965331075</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV043850814</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield><subfield code="a">DE-862</subfield><subfield code="a">DE-706</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 320</subfield><subfield code="0">(DE-625)143657:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Dale, Kyran</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1112956220</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Data visualization with Python and JavaScript</subfield><subfield code="b">scrape, clean, explore & transform your data</subfield><subfield code="c">Kyran Dale</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">First edition</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing ; Boston ; Farnham ; Sebastopol ; Tokyo</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">July 2016</subfield></datafield><datafield tag="264" ind1=" " ind2="4"><subfield code="c">© 2016</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 Online-Ressource (581 Seiten)</subfield><subfield code="b">Illustrationen, Diagramme (überwiegend farbig)</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Information visualization</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Python (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">JavaScript (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Information visualization</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">JavaScript (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Python (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">JavaScript</subfield><subfield code="0">(DE-588)4420180-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Visualisierung</subfield><subfield code="0">(DE-588)4188417-6</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Information</subfield><subfield code="0">(DE-588)4026899-8</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Information</subfield><subfield code="0">(DE-588)4026899-8</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Visualisierung</subfield><subfield code="0">(DE-588)4188417-6</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="2"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="3"><subfield code="a">JavaScript</subfield><subfield code="0">(DE-588)4420180-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029261134&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-30-PQE</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-029261134</subfield></datafield><datafield tag="966" ind1="e" ind2=" "><subfield code="u">https://ebookcentral.proquest.com/lib/fhws/reader.action?docID=4573768</subfield><subfield code="l">FWS01</subfield><subfield code="p">ZDB-30-PQE</subfield><subfield code="x">Aggregator</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="966" ind1="e" ind2=" "><subfield code="u">https://ebookcentral.proquest.com/lib/fhws/reader.action?docID=4573768</subfield><subfield code="l">FWS02</subfield><subfield code="p">ZDB-30-PQE</subfield><subfield code="x">Aggregator</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="966" ind1="e" ind2=" "><subfield code="u">https://ebookcentral.proquest.com/lib/unibwm/detail.action?docID=4573768</subfield><subfield code="l">UBY01</subfield><subfield code="p">ZDB-30-PQE</subfield><subfield code="q">UBY01_Einzelkauf20</subfield><subfield code="x">Aggregator</subfield><subfield code="3">Volltext</subfield></datafield></record></collection> |
id | DE-604.BV043850814 |
illustrated | Not Illustrated |
indexdate | 2024-08-01T12:21:38Z |
institution | BVB |
isbn | 9781491920510 9781491920541 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-029261134 |
oclc_num | 965331075 |
open_access_boolean | |
owner | DE-863 DE-BY-FWS DE-862 DE-BY-FWS DE-706 |
owner_facet | DE-863 DE-BY-FWS DE-862 DE-BY-FWS DE-706 |
physical | 1 Online-Ressource (581 Seiten) Illustrationen, Diagramme (überwiegend farbig) |
psigel | ZDB-30-PQE ZDB-30-PQE UBY01_Einzelkauf20 |
publishDate | 2016 |
publishDateSearch | 2016 |
publishDateSort | 2016 |
publisher | O'Reilly |
record_format | marc |
spellingShingle | Dale, Kyran Data visualization with Python and JavaScript scrape, clean, explore & transform your data Information visualization Python (Computer program language) JavaScript (Computer program language) Information visualization fast JavaScript (Computer program language) fast Python (Computer program language) fast JavaScript (DE-588)4420180-1 gnd Visualisierung (DE-588)4188417-6 gnd Python Programmiersprache (DE-588)4434275-5 gnd Information (DE-588)4026899-8 gnd |
subject_GND | (DE-588)4420180-1 (DE-588)4188417-6 (DE-588)4434275-5 (DE-588)4026899-8 |
title | Data visualization with Python and JavaScript scrape, clean, explore & transform your data |
title_auth | Data visualization with Python and JavaScript scrape, clean, explore & transform your data |
title_exact_search | Data visualization with Python and JavaScript scrape, clean, explore & transform your data |
title_full | Data visualization with Python and JavaScript scrape, clean, explore & transform your data Kyran Dale |
title_fullStr | Data visualization with Python and JavaScript scrape, clean, explore & transform your data Kyran Dale |
title_full_unstemmed | Data visualization with Python and JavaScript scrape, clean, explore & transform your data Kyran Dale |
title_short | Data visualization with Python and JavaScript |
title_sort | data visualization with python and javascript scrape clean explore transform your data |
title_sub | scrape, clean, explore & transform your data |
topic | Information visualization Python (Computer program language) JavaScript (Computer program language) Information visualization fast JavaScript (Computer program language) fast Python (Computer program language) fast JavaScript (DE-588)4420180-1 gnd Visualisierung (DE-588)4188417-6 gnd Python Programmiersprache (DE-588)4434275-5 gnd Information (DE-588)4026899-8 gnd |
topic_facet | Information visualization Python (Computer program language) JavaScript (Computer program language) JavaScript Visualisierung Python Programmiersprache Information |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029261134&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT dalekyran datavisualizationwithpythonandjavascriptscrapecleanexploretransformyourdata |