Home > Computing and Information Technology > Computer programming / software engineering > Database programming > Data Visualization Toolkit: Using JavaScript, Rails, and Postgres to Present Data and Geospatial Information
20%
Data Visualization Toolkit: Using JavaScript, Rails, and Postgres to Present Data and Geospatial Information

Data Visualization Toolkit: Using JavaScript, Rails, and Postgres to Present Data and Geospatial Information

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Create Beautiful Visualizations that Free Your Data to Tell Powerful Truths “The depth of Barrett Clark’s knowledge shines through in his writing: clear, concise, and confident. Barrett has been practicing all of this stuff in his day job for many years–Postgres, D3, GIS, all of it. The knowledge in this book is real-world and hard-earned!” –From the Foreword by Obie Fernandez Data Visualization Toolkit is your hands-on, practical, and holistic guide to the art of visualizing data. You’ll learn how to use Rails, jQuery, D3, Leaflet, PostgreSQL, and PostGIS together, creating beautiful visualizations and maps that give your data a voice and to make it “dance.”   Barrett Clark teaches through real-world problems and examples developed specifically to illuminate every technique you need to generate stunningly effective visualizations. You’ll move from the absolute basics toward deep dives, mastering diverse visualizations and discovering when to use each. Along the way, you’ll build three start-to-finish visualization applications, using actual real estate, weather, and travel datasets.   Clark addresses every component of data visualization: your data, database, application server, visualization libraries, and more. He explains data transformations; presents expert techniques in JavaScript, Ruby, and SQL; and illuminates key concepts associated with both descriptive statistics and geospatial data. Throughout, everything is aimed at one goal: to help you cut through the clutter and let your data tell all it can.   This guide will help you Explore and understand the data visualization technology stack Master the thought process and steps involved in importing data Extract, transform, and load data in usable, reliable form Handle spotty data, or data that doesn’t line up with what your chart expects Use D3 to build pie and bar charts, scatter and box plots, and more Work effectively with time-series data Tweak Ruby and SQL to optimize performance with large datasets Use raw SQL in Rails: window functions, subqueries, and common table expressions Build chord diagrams and time-series aggregates Use separate databases or schema for reporting databases Integrate geographical data via geospatial SQL queries Construct maps with Leaflet and Rails Query geospatial data the “Rails way” and the “raw SQL way”

Table of Contents:
Foreword xv Preface xvii Acknowledgments xxiii About the Author xxv   Part I: ActiveRecord and D3 1 Chapter 1: D3 and Rails 3 Your Toolbox—A Three-Ring Circus 3 Maryland Residential Sales App 5 Summary 17   Chapter 2: Transforming Data with ActiveRecord and D3 19 Pie Chart Revisited 19 Bar Chart 24 Scatter Plot 28 Scatter Plot Revisited 33 Box Plot 34 Summary 40   Chapter 3: Working with Time Series Data 41 Historic Daily Weather Data 41 Weather Rails App 42 Simple Line Graph 45 Tweak 1: Simple Multiline Graph 50 Tweak 2: Add Circle to Highlight the Maximum Temperature 51 Tweak 3: Add Circle to Highlight the Minimum Temperature 53 Tweak 4: Add Text to Display the Temperature Change 55 Tweak 5: Add a Line Between the Focus Circles 56 Summary 58   Chapter 4: Working with Large Datasets 59 Git and Large Files 59 The Cloud 60 Hotlinking 60 Benchmarking 62 Querying “Big Data” 65 When Benchmarks and Statistics Lie 68 Summary 69   Part II: Using SQL in Rails 71 Chapter 5: Window Functions, Subqueries, and Common Table Expression 73 Why Use SQL? 73 User-Defined Functions 75 How to Use SQL in Rails 78 Scatter Plot with Mortgage Payment 79 Window Functions 81 Using Subqueries 84 Common Table Expression 84 CTE and the Heatmap 86 Summary 90   Chapter 6: The Chord Diagram 93 The Matrix Is the Truth 93 Flight Departures Data 94 Departures App 95 Transforming the Data 101 Create the Views 104 Draw the Chord Diagram 106 Disjointed City Pairs 108 Summary 113   Chapter 7: Time Series Aggregates in Postgres 115 Finding Flight Segments 115 Graphing the Timeline 121 Summary 127   Chapter 8: Using a Separate Reporting Database 129 Transactional versus Reporting Databases 129 Working with Multiple Schemas in Rails 131 Creating Objects in the Reporting Schema 132 Summary 138   Part III: Geospatial Rails 139 Chapter 9: Working with Geospatial Data in Rails 141 GIS Primer 141 PostGIS 144 ActiveRecord and PostGIS 146 Using Geospatial Data in Rails 147 Working with Shapefiles 150 Summary 154   Chapter 10: Making Maps with Leaflet and Rails 155 Leaflet 155 Incorporating Leaflet into Rails to Visualize Weather Stations 157 Visualizing Airports 163 Visualizing Zip Codes 168 Summary 181   Chapter 11: Querying Geospatial Data 183 Finding Items within a Bounding Box 183 Writing a Bounding Box Query 184 Finding Items Near a Point 187 Calculating Distance 190 Summary 191   Afterword 193   Appendix A: Ruby and Rails Setup 195 Install Ruby 195 Finalize the Setup 199   Appendix B: Brief Postgres Overview 201 Installing Postgres 201 SQL Tools 202 Bulk Importing Data 202 The Query Plan 204   Appendix C: SQL Join Overview 207 Join Example Database Setup 207 Inner Join 207 Left Outer Join 208 Right Outer Join 208 Full Outer Join 209 Cross Join 209 Self Join 209   Index 211


Best Sellers


Product Details
  • ISBN-13: 9780134464435
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Depth: 13
  • Language: English
  • Returnable: N
  • Spine Width: 9 mm
  • Weight: 336 gr
  • ISBN-10: 0134464435
  • Publisher Date: 28 Sep 2016
  • Binding: Paperback
  • Height: 232 mm
  • No of Pages: 256
  • Series Title: Addison-wesley Professional Ruby Series
  • Sub Title: Using JavaScript, Rails, and Postgres to Present Data and Geospatial Information
  • Width: 179 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Data Visualization Toolkit: Using JavaScript, Rails, and Postgres to Present Data and Geospatial Information
Pearson Education (US) -
Data Visualization Toolkit: Using JavaScript, Rails, and Postgres to Present Data and Geospatial Information
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Data Visualization Toolkit: Using JavaScript, Rails, and Postgres to Present Data and Geospatial Information

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA