1 option
JavaScript for data science / Maya Gans, Toby Hodges, and Greg Wilson.
- Format:
- Book
- Author/Creator:
- Gans, Maya, author.
- Series:
- Chapman & Hall/CRC data science series.
- Chapman & Hall/CRC data science series
- Language:
- English
- Subjects (All):
- JavaScript (Computer program language).
- Mathematical statistics--Data processing.
- Mathematical statistics.
- Information visualization.
- Physical Description:
- 1 online resource (245 pages).
- Edition:
- 1st ed.
- Place of Publication:
- Boca Raton : CRC Press, 2020.
- Summary:
- JavaScript is the native language of the Internet. Originally created to make web pages more dynamic, it is now used for software projects of all kinds, including scientific visualization and data services. However, most data scientists have little or no experience with JavaScript, and most introductions to the language are written for people who want to build shopping carts rather than share maps of coral reefs. This book will introduce you to JavaScript's power and idiosyncrasies and guide you through the key features of the language and its tools and libraries. The book places equal focus on client- and server-side programming, and shows readers how to create interactive web content, build and test data services, and visualize data in the browser. Topics include: The core features of modern JavaScript Creating templated web pages Making those pages interactive using React Data visualization using Vega-Lite Using Data-Forge to wrangle tabular data Building a data service with Express Unit testing with Mocha All of the material is covered by the Creative Commons Attribution-Noncommercial 4.0 International license (CC-BY-NC-4.0) and is included in the book's companion website at http://js4ds.org . Maya Gans is a freelance data scientist and front-end developer by way of quantitative biology. Toby Hodges is a bioinformatician turned community coordinator who works at the European Molecular Biology Laboratory. Greg Wilson co-founded Software Carpentry, and is now part of the education team at RStudio
- Contents:
- Cover
- Half Title
- Title Page
- Copyright Page
- Dedication
- Table of Contents
- Chapter 1: Introduction
- 1.1 Who You Are
- 1.2 Who We Are
- 1.3 Setting Up
- 1.4 Contributing
- 1.4.1 Acknowledgments
- 1.5 Exercises
- Chapter 2: Basic Features
- 2.1 Hello, World
- 2.2 Basic Data Types
- 2.3 Control Flow
- 2.4 Formatting Strings
- 2.5 Objects
- 2.6 Functions
- 2.7 Modules
- 2.8 Exercises
- Chapter 3: Callbacks
- 3.1 The Call Stack
- 3.2 Functions of Functions
- 3.3 Anonymous Functions
- 3.4 Functional Programming
- 3.5 Closures
- 3.6 Exercises
- Chapter 4: Objects and Classes
- 4.1 Doing It By Hand
- 4.2 Classes
- 4.3 Inheritance
- 4.4 Exercises
- Chapter 5: HTML and CSS
- 5.1 Formatting
- 5.2 Text
- 5.3 Pages
- 5.4 Attributes
- 5.5 Lists
- 5.6 Tables
- 5.7 Links
- 5.8 Images
- 5.9 Cascading Style Sheets
- 5.10 Bootstrap
- 5.11 Exercises
- Chapter 6: Manipulating Pages
- 6.1 Counting Paragraphs
- 6.2 Creating a Table of Contents
- 6.3 Sortable Lists
- 6.4 Bibliographic Citations
- 6.5 A Real-time Clock
- 6.6 Exercises
- Chapter 7: Dynamic Pages
- 7.1 Hello, World
- 7.2 JSX
- 7.3 Creating Components
- 7.4 Developing with Parcel
- 7.5 Multiple Files
- 7.6 Exercises
- Chapter 8: Visualizing Data
- 8.1 Vega-Lite
- 8.2 Local Installation
- 8.3 Exercises
- Chapter 9: Promises
- 9.1 The Execution Queue
- 9.2 Promises
- 9.3 Using Promises
- 9.4 async and await
- 9.5 Exercises
- Chapter 10: Interactive Sites
- 10.1 But It Doesn't Work
- 10.2 Models and Views
- 10.3 Fetching Data
- 10.4 Exercises
- Chapter 11: Managing Data
- 11.1 Data Formats
- 11.2 Slicing Data
- 11.3 Data Manager
- 11.4 Exercises
- Chapter 12: Creating a Server
- 12.1 HTTP
- 12.2 Hello, Express
- 12.3 Handling Multiple Paths
- 12.4 Serving Files from Disk
- 12.5 Content Types
- 12.6 Exercises.
- Chapter 13: Testing
- 13.1 Introducing Mocha
- 13.2 Refactoring
- 13.3 Testing the Server
- 13.4 Checking the HTML
- 13.5 Exercises
- Chapter 14: Using Data-Forge
- 14.1 Basic Operations
- 14.2 Doing Calculations
- 14.3 Subsets
- 14.4 Aggregation
- 14.5 In Real Life
- 14.6 Exercises
- Chapter 15: Capstone Project
- 15.1 Data Manager
- 15.2 Server
- 15.3 API
- 15.4 The Display
- 15.5 The Tables
- 15.6 The Chart
- 15.7 Running It
- 15.8 Exercises
- Chapter 16: Finale
- Bibliography
- Appendix A: License
- Appendix B: Code of Conduct
- B.1 Our Standards
- B.2 Our Responsibilities
- B.3 Scope
- B.4 Enforcement
- B.5 Attribution
- Appendix C: Contributing
- Appendix D: Glossary
- Appendix E: Key Points
- Appendix F: Collaborating
- F.1 Licensing Software
- F.2 Licensing Data and Documentation
- F.3 Code of Conduct
- F.4 Governance
- Appendix G: Legacy JavaScript Issues
- G.1 Equality
- G.2 Iteration
- G.3 Prototypes
- Appendix H: Regular Expressions
- Appendix I: Logging
- Appendix J: Extensible Servers
- Appendix K: Using a Database
- K.1 Starting Point
- K.2 In-Memory Database
- K.3 Making It Testable
- K.4 Testing
- K.5 Updating the Database
- K.6 Exercises
- Appendix L: Deploying
- Index.
- Notes:
- Includes bibliographical references and index.
- Description based on print version record.
- ISBN:
- 1-000-02859-3
- 0-367-85418-X
- 1-000-02855-0
- 9780367854188
- OCLC:
- 1139350352
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.