Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbostock
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
271.
▲
Geographic Clipping (in D3.js version 3)
(jasondavies.com)
6 points
by
mbostock
14y ago
|
0 comments
272.
▲
by
mbostock
14y ago
Indeed, thank you! Hugs all around. :) You made the argument that D3 doesn't do 3D because of the DOM, and I just wanted to clarify that while this is mostly true (caveat custom elements such as X3DOM), the reason is perceptual as much as t
273.
▲
by
mbostock
14y ago
If you are trying to understand three-dimensional functions, it makes sense to view them in 3D. I was just pointing out that in the domain of information visualization (separate from math and scientific visualization), 2D is generally prefe
274.
▲
by
mbostock
14y ago
Regarding the use of three dimensions for visualization, see Tamara Munzner's forthcoming book, "Visualization Design and Analysis: Abstractions, Principles, and Methods." [1] Although still in draft form, the section "No Unjustified 3D" is
275.
▲
by
mbostock
14y ago
It's mostly open-sourced, available here: https://github.com/mbostock/git-static
276.
▲
by
mbostock
14y ago
A couple hidden features: 1. You can option-click on any of the buttons to see the transition in super slo-mo. (This was mainly for debugging, but it's fun to see how the transitions work in more detail.) 2. You can double-click on any part
277.
▲
Random Points on a Sphere
(jasondavies.com)
4 points
by
mbostock
14y ago
|
0 comments
278.
▲
by
mbostock
14y ago
Haha, maybe if I have time! It might make a fun custom line interpolator, one of the features added in 2.10: http://bl.ocks.org/3310323
279.
▲
by
mbostock
14y ago
Thanks! Yeah, you can definitely use D3 outside of data visualization; the data-join pattern is useful whenever you want to generate a DOM from data and keep the DOM up-to-date as data changes. D3 also provides custom event dispatching for
280.
▲
by
mbostock
14y ago
Since it's not clear from the link, I'll clarify that this refers to resampling for map (cartographic) projections. For more on our recent work on extended projections, see the geo/projections plugin: https://github.com/d3/d3-plugins/tree/
281.
▲
by
mbostock
14y ago
There are a variety of ways that you can use canvas with D3. For example: force layouts ( http://bl.ocks.org/3231307 and http://bl.ocks.org/3180395 ), time-series charts ( http://square.github.com/cubism/ ), custom DOM-to-canvas renderers
282.
▲
by
mbostock
14y ago
This is part of the reason why I ported Vladimir Yaroslavskiy's dual-pivot quicksort to JavaScript ( https://github.com/square/crossfilter/blob/master/src/quicks... ) for Crossfilter ( http://square.github.com/crossfilter ). It is much, muc
283.
▲
by
mbostock
14y ago
If you want a good introduction to color theory, see Marc Levoy's lecture notes from CS 248 (Introduction to Computer Graphics). The notes are quite dense but contain a lot of good information. http://graphics.stanford.edu/courses/cs248-08
284.
▲
by
mbostock
14y ago
> This website has been designed with liquid layout to afford readers this control. Relinquishing such control makes some designers quake in their boots, but the beauty and advantage of the Web as medium is that readers are able to adju
285.
▲
by
mbostock
14y ago
Pie charts are intended to show how one constituent value compares to the whole. Since these errors are not mutually exclusive (a single page can fail validation for multiple reasons), and since the top 10 reasons constitute an arbitrary wh
286.
▲
by
mbostock
14y ago
The line from the original paper is in section 3.3: "If its calculated area is less than that of the last point to be eliminated, use the latter's area instead. (This ensures that the current point cannot be eliminated without eliminating p
287.
▲
by
mbostock
14y ago
These are cultural vectors, and so the sovereign territory includes the Great Lakes. Though, come to think of it, I should have picked the physical vectors if I wanted to stick to the coastline paradox theme!
288.
▲
by
mbostock
14y ago
No, but that's next on my list! I'm familiar with at least one approach—identify borders shared by multiple features, simplify those independently, then stitch everything back together. I'm curious as to whether you can identify shared poin
289.
▲
by
mbostock
14y ago
The source code is here, if you're interested: http://bost.ocks.org/mike/simplify/simplify.js I'll probably package it up as a Node module so that it's easy to enable dynamic simplification of GeoJSON files. (A more efficient representati
290.
▲
by
mbostock
14y ago
This post would benefit from concrete examples rather than vague complaints. For example, if something is "very immature", why not include specific examples of bugs or issues that required upgrading to "the latest version"? Likewise, if Nod
291.
▲
by
mbostock
14y ago
Agreed; horizon charts take some explanation. However, once you understand what they're showing, they become quite natural. That makes them suitable for dashboards that are monitored by a regular audience (say, production engineers, stock t
292.
▲
by
mbostock
14y ago
We use it for both, but most commonly we use it to compare a single metric (such as CPU or network utilization) across hosts. Line graphs work well when you only have a few hosts, but start to suffer when you try to plot many hosts simultan
293.
▲
by
mbostock
14y ago
Lots of things might not work in nightly builds. That's why they're nightly. ;) I tried the latest Mac OS X WebKit r115090 built on 24 April 2012, and it worked fine for me. If the latest nightly doesn't work for you, please let me know by
294.
▲
by
mbostock
14y ago
Full-screen demo: http://square.github.com/cubism/demo/ Part of the Cube 0.2.0 release: https://github.com/square/cube/wiki/Release-Notes http://square.github.com/cube/ If someone would suggest a reliable, free source of realtime data
295.
▲
by
mbostock
15y ago
Some compression is inevitable; to give space to some part of the visualization, you must to take it away from somewhere else. But yeah, there are variations of this approach that apply a global distortion rather than one localized to the m
296.
▲
by
mbostock
15y ago
This is similar to Spark [1], except Spark uses standard Unicode characters whereas Histogrem requires a custom font. Still, it's nice that Histogrem offers greater precision. [1] https://github.com/holman/spark
297.
▲
by
mbostock
15y ago
Thank you! D3 does work in IE9, provided <!DOCTYPE html> to put IE9 in standards mode. Did you mean to say IE8? IE8 and below do not support SVG, so D3 is unsupported on those versions.
298.
▲
by
mbostock
15y ago
Why three buttons? Morse code only needs one (as is obvious from any telegraph key)—short press for dot, long press for dash, short pause for intercharacter gap, long pause for interword gap. Then you could type at least eight messages conc
299.
▲
by
mbostock
15y ago
If you like that idea, you might like the Perspective Wall (CHI '91) by Mackinlay, Robertson and Card. Abstract: """ Tasks that involve large information spaces overwhelm workspaces that do not support efficient use of space and time. For e
300.
▲
by
mbostock
15y ago
This appears to be an animated form of line integral convolution. Cabral and Leedom paper's from SIGGRAPH '93, Imaging Vector Fields Using Line Integral Convolution (PDF): http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.115...
More ›