HNHacker News
TopNewBestAskShowJobs

1wheel

1,932 karma · joined November 23, 2011

roadtolarissa.com

@adamrpearce

github.com/1wheel

[ my public key: https://keybase.io/1wheel; my proof: https://keybase.io/1wheel/sigs/oiIWaeFlocOXCQTRs_2pfsieq2ldvt0hIwB9xoUwtbc ]

submissionscomments
1wheel··on Chart Shows Who Marries CEOs, Doctors, Chefs and Janitors
This is great, thanks for writing up what you found!
1wheel··on Chart Shows Who Marries CEOs, Doctors, Chefs and Janitors
In my graphic I ignored those rows, but you could look at only those rows to see which occupations are most likely not to be married.
1wheel··on Chart Shows Who Marries CEOs, Doctors, Chefs and Janitors
> the visualization was adjusted to always show same sex lines.

We went back and forth on this a lot. Just showing the top relationships by number would result in omitting all same sex relationships, which didn't seem right. Their inclusion seems to have caused lots of confusion though - maybe it should have been called out more prominently than in the methodology. Even better would have been to have a toggle to show the more distinctive relationships.

1wheel··on Chart Shows Who Marries CEOs, Doctors, Chefs and Janitors
I collected the raw files used from the American Community Survey: https://drive.google.com/folderview?id=0ByZIeqREehZySFg3MTdo...

It looks like I forgot to check in the R script used to process the .dat files to my gist https://gist.github.com/1wheel/a8e65b1576b750c5e3e3, but I'll add it when I get home.

We also tried to use salary info like the magazine version https://twitter.com/adamrpearce/status/697844614754123776 did, but had some problems with slighty different occuptation categories: http://www.bloomberg.com/graphics/2016-who-marries-whom/sala...

Interested to see what people come up with! This is a super interesting, rich data set that deserves much more than what I've done.

1wheel··on Chart Shows Who Marries CEOs, Doctors, Chefs and Janitors
> Someone saw the graph and said, wow let's just use it because it looks awesome.

Close to what happened! The magazine graphic (https://twitter.com/adamrpearce/status/697844614754123776) was finished before I started on the web version, and I just had a couple of days to make something that could go online. I initially tried a more sort of 538/scatterplot/analysis approach, but wasn't making a ton of progress. I started just sketching out different ways of putting all 500 jobs on the screen at once. The grid of jobs with lines showing up on mouseover was the most fun to play with and being pushed to finish before valentines day, I went with it.

Sorry it was hard to use!

1wheel··on Visualizing K-Means equilibria
Nice set of images showing the result of tweaking different parameters:

https://twitter.com/BlackiLi/status/689860531293941762

1wheel··on Cursive, an IDE for Clojure and ClojureScript, has reached 1.0
Any tips on using it? Breakpoints in the chrome dev tools and `debugger` are a huge part of my JS workflow, but I've been having trouble wrapping my head around the InteliJ UI. I basically just want to be able to pause the program, see/move up the call stack, and use the REPL with local variables.
1wheel··on Chrome DevTools: A Glimpse into the Future and RAIL Profiling
I typically have sublime on the other side of the screen and the dev tools docked to the bottom - http://i.imgur.com/JByAoiK.jpg
1wheel··on Chrome DevTools: A Glimpse into the Future and RAIL Profiling
The mobile device bar is particularly annoying while working split screen on laptop; vertical space is already very tight.
1wheel··on Ask HN: What's your favorite online course?
I though Jenny Bryan's R class had more modern take on R that was significantly easier to follow. https://stat545-ubc.github.io/

Even with some R experience I didn't feel like I got enough information from the R Prog lectures to complete the assignments.

1wheel··on The Year Ahead 2016
50 charts and tables is a lot to consume on a webpage no matter how you slice it.

The original magazine presentation - 6 full page spreads with 8 or 9 charts each - is way more readable. The higher information density of paper lets you glance at 9 companies at once and spend more time with what looks interesting. We tried to preserve some of the serendipity online with the short preview sentences on the left column, but the linear scroll through the charts takes away from that and makes it feel a little too chore like.

Sometimes translating to digital invites amazing improvements through interactivity (see what is code), but here we had a tight deadline and too many charts to redo them all in an interesting way w/ d3 so the digital focus was much more on the design side.

1wheel··on The Year Ahead 2016
Not including ads, the page is 1.1 MB w/ 800KB of chart images and 100KB of css that was mistakenly included (whoops).

We did discuss just publishing a .txt or .nfo file instead, but some of the charts required a bit of ASCII cheating and being able to adjust font size & weight of labels really made them a lot more readable.

1wheel··on Graph-scroll.js – Simple scrolling events for D3.js graphics
NYT and Guardian have also put out great scrolling graphics over the last few days:

http://www.nytimes.com/interactive/2015/10/27/world/greenlan...

http://www.theguardian.com/us-news/ng-interactive/2015/oct/1...

https://source.opennews.org/en-US/articles/how-we-made-homan...

1wheel··on Accelerated Mobile Pages Project
No javascript, so no d3 on the page or any interactive graphics that can't be stuffed into an iframe.

>One thing we realized early on is that many performance issues are caused by the integration of multiple JavaScript libraries, tools, embeds, etc. into a page. This isn’t saying that JavaScript immediately leads to bad performance, but once arbitrary JavaScript is in play, most bets are off because anything could happen at any time and it is hard to make any type of performance guarantee. With this in mind we made the tough decision that AMP HTML documents would not include any author-written JavaScript, nor any third-party scripts.

https://www.ampproject.org/how-it-works/

http://www.niemanlab.org/2015/10/get-ampd-heres-what-publish...

1wheel··on How to Make an SVG Lava Lamp
Chrome is depreciating SMIL https://groups.google.com/a/chromium.org/forum/#!topic/blink...
1wheel··on Vega: A Visualization Grammar
Jeffery Heer gave a great talk at OpenVisConf earlier this year on the whole vega ecosysthem

https://www.youtube.com/watch?v=GdoDLuPe-Wg

1wheel··on The Mob's IT Department
> If I had to take a wild guess, the author/editor of the article might've wanted some fancy stuff (like the header videos and scroll behavior, for instance) and it was easiest to do that on this platform.

Yup. We set up a system for publishing git repos with static html/css/js to /graphics for our interactive charts.

When the features desk for the new site started up a few months ago it was much easier for them to piggyback on our stack.

1wheel··on Ask HN: Who is hiring? (July 2015)
Hey, thanks.

The features desk brought the Krugman piece to life. We tend to pick up more of the data viz/interactive stuff, but we do work pretty closely with / sit next to them.

1wheel··on Ask HN: Who is hiring? (July 2015)
Bloomberg Graphics | http://bloomberg.com/graphics | NYC

We're hiring a couple of Interactive Graphic Journalists. We're looking for people with some combination of data wrangling, design and storytelling skills to making interactive graphics and features for the web. Some of the cool things we put out last month:

http://www.bloomberg.com/graphics/2015-paul-ford-what-is-cod...

http://www.bloomberg.com/graphics/2015-whats-warming-the-wor...

http://www.bloomberg.com/graphics/2015-executive-pay-peer-gr...

We use lot of different tools; I think we spend the bulk of our time in d3, illustrator, R or QGIS.

If you have any questions, please get in touch! I didn't think I was qualified for this role when I applied last year, but I've learned a ton working with a talented, creative group. Programming on news deadlines gives you a chance to regularly try out new ideas/techniques and get them in front of millions of people days or hours later in a way very few other jobs allow for. - apearce19@bloomberg.net

http://jobs.bloomberg.com/job/New-York-Interactive-Graphic-J...

1wheel··on What Is Code?
What audio? There shouldn't be any sound unless you activate the konami code easter egg.
1wheel··on What Is Code?
Source for accompanying interactives - https://github.com/BloombergMedia/whatiscode
1wheel··on Replacing jQuery with D3
Yes, d3 uses CSS3 selections

https://github.com/mbostock/d3/wiki/Selections

1wheel··on Learn SQL Interactively on Khan Academy
Yup - very few of our graphics required any SQL

http://www.bloomberg.com/topics/graphics

1wheel··on SVG Path Strings
> in web browsers the number of DOM nodes end up being the limiting factor

Yup. Each node comes with a significant amount of overhead. If every lineto command required a separate node, this map[1] would go from requiring a manageable ~3000 nodes to a laggy ~40000.

I ran into this while working on a population map[2]. To draw paths with variable stroke, I initially tried creating a path element for segments of different strokes. This was too slow to animate or even render without freezing the browser, so I ended drawing the path left to right then right to left, making the height offset smaller and larger to simulate a stroke.

[1]http://bl.ocks.org/mbostock/5925375/

[2]http://roadtolarissa.com/population-division/

1wheel··on SVG Path Strings
The implementations notes list another potential specification[1]. I'm guessing it was avoided because it wouldn't follow the pattern of ending each command with the new coordinates of the pen.

They were definitely considering the rounded corners use case; the details of drawing a rect element with a path[2] make arcs sound much easier to use than they actually are most of the time.

[1]http://www.w3.org/TR/SVG/implnote.html#ArcParameterizationAl...

[2]http://www.w3.org/TR/SVG/shapes.html#RectElement

1wheel··on How Nonemployed Americans Spend Their Weekdays
http://d3js.org/
1wheel··on Convex hull visualizations with D3
Thanks!

Chan's algorithms is actually able to combine both approaches and runs in n log h. It is a bit trickier though, so I didn't make an interactive for it.

http://en.wikipedia.org/wiki/Chan%27s_algorithm

1wheel··on Hyperlapse, Instagram's new video stabilization app
The initial paper demonstrating using gyroscopes to deblur images also came out of MSR 4 years ago: http://research.microsoft.com/en-us/um/redmond/groups/ivm/im...
1wheel··on The strange truth about fiction
Robert Simmon has a good intro to color perception for data visualization http://earthobservatory.nasa.gov/blogs/elegantfigures/2013/0... .

Cynthia Brewer's work is currently the gold standard

http://colorbrewer2.org/

https://canvas.uw.edu/courses/891359/files/25713244/download...

1wheel··on Maximize your tweet's chance of discovery via hashtags
I scroll through #d3js every few days to see what's being made/talked about.
← PreviousPage 3 of 5Next →