jasondavies's comments

jasondavies | 3 years ago | on: Map Projection Transitions

Thanks. Interpolating between map projections that have the same clip region is relatively straightforward. When projecting geometries from the surface of a sphere to a 2D plane, you're always going to have a discontinuity somewhere on the sphere, i.e. the clip region. The projections supported so far all have the same discontinuity along the antimeridian (the meridian at longitude ±180°).

Extending the interpolation to work for projections with different clip regions should be feasible but there are several ways to interpolate between arbitrary shapes in 2D, so I'd have to give it some thought.

Another way to transition between "polyhedral" projections like the Dymaxion map and the Waterman butterfly is to fold and unfold the maps in 3D to and from a closed polyhedral globe.

jasondavies | 7 years ago | on: World Airports Voronoi (2014)

This is probably the most frequently asked question! The data is from here: http://ourairports.com/data/

I had to limit the number of airports displayed for performance reasons. I filtered the airport data so that only those airports with scheduled services and which are denoted "large" or "medium" are included (according to OurAirports), bringing the number down to 2,980.

jasondavies | 12 years ago | on: Rotate the world

I've just reduced the resampling slightly, using precision(.5) instead of precision(.1), not sure if that helps much.

jasondavies | 12 years ago | on: Rotate the world

Thanks for the feedback!

I agree it’s not the most intuitive approach for all situations, particularly when you’re used to a North-South orientation for maps. The rolling is perhaps made more obvious with my use of a graticule. For this reason, I’d be interested in optionally restricting to two degrees of freedom when dragging on the globe, and the third angle could be modified when dragging outside the globe only. So the point being dragged on the globe could still remain under the cursor where possible using this approach.

Interestingly, Google Earth uses the same approach as I do, though perhaps it seems less obvious without a graticule.

jasondavies | 13 years ago | on: Show HN: Word Tree in D3.js

The text is in fact processed in the client, and is quite fast even for large corpora such as the whole Bible: http://www.jasondavies.com/wordtree/?source=kjv.txt&pref...

It attempts to access URLs directly but this only works if the server sends the appropriate CORS headers (hardly ever).

Otherwise, it falls back to using a proxy, which means the client only sees what the proxy sees. However, you can also paste raw text on the main page.

I could imagine modifying the bookmarklet so it lifts the text directly from the browser instead of just copying the URL. This would solve the proxy issue neatly and would also work for local-only or intranet sites, for which the proxy also fails.

jasondavies | 13 years ago | on: Show HN: Word Tree in D3.js

Scroll down and there's a bookmarklet that you can drag to your Bookmarks Bar, allowing you to turn the current URL into a word tree.

jasondavies | 13 years ago | on: Show HN: Word Tree in D3.js

I tend to agree with Wattenberg and Viégas that it's interesting to treat all words and punctuation equally, but it's certainly a matter of opinion and it would be simple enough to tokenise the input data differently.

jasondavies | 13 years ago | on: Show HN: Word Tree in D3.js

Try now? I was previously loading some datasets directly from Many Eyes, but I'm using my own copies now to relieve load on their servers.
page 1