HN Books @HNBooksMonth

The best books of Hacker News.

Hacker News Comments on
Data Visualization Toolkit: Using Javascript, Rails, and Postgres to Present Data and Geospatial Information (Addison-wesley Professional Ruby Series)

Barrett Clark · 1 HN comments
HN Books has aggregated all Hacker News stories and comments that mention "Data Visualization Toolkit: Using Javascript, Rails, and Postgres to Present Data and Geospatial Information (Addison-wesley Professional Ruby Series)" by Barrett Clark.
View on Amazon [↗]
HN Books may receive an affiliate commission when you make purchases on sites after clicking through links on this page.
Amazon Summary
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 youExplore and understand the data visualization technology stackMaster the thought process and steps involved in importing dataExtract, transform, and load data in usable, reliable formHandle spotty data, or data that doesn’t line up with what your chart expectsUse D3 to build pie and bar charts, scatter and box plots, and moreWork effectively with time-series dataTweak Ruby and SQL to optimize performance with large datasetsUse raw SQL in Rails: window functions, subqueries, and common table expressionsBuild chord diagrams and time-series aggregatesUse separate databases or schema for reporting databasesIntegrate geographical data via geospatial SQL queriesConstruct maps with Leaflet and RailsQuery geospatial data the “Rails way” and the “raw SQL way”
HN Books Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this book.
Why not use Rails? The book "Data Visualization Toolkit" [1] does exactly that: it uses Rails for AR's ease of use, not because they need a heavy server. If you need a UI instead of the CLI, you can use ActiveAdmin, or use Django which comes bundled with an admin interface. If neither of those fits your needs, if you can expand more on your requirements and why you want something light weight, I could have a few more suggestions, but they all mostly boil down to "use sqlite with an interactive UI".

1: https://www.amazon.com/Data-Visualization-Toolkit-Addison-We...

totetsu
CLI is okay, and I was thinking of it because of the easy of use. Trying to get rails to work in windows WSL1 has been a bit too slow.
d3nj4l
Ok, that makes sense. I assume you have a good reason for avoiding WSL2, because with WSL2 I've had ok perf if psql was also running on wsl2. Otherwise, you can rent a cheap DO box, or even get one of the free Oracle Cloud ARM instances; you can ssh in, develop using VS Code/ RubyMine Remote, and it'll be reasonably fast.
totetsu
It's a work laptop and they disabled virtualization in the bios. :( Maybe a small cloud instance is the way to go.
HN Books is an independent project and is not operated by Y Combinator or Amazon.com.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.