block by monfera 10527804


Full Screen

Playing with reusing d3.geo for plotting. Zoom or pan on any of the plots. Subsequent transitioned example:

Mike Bostock and Jason Davies have added cool geo features, some of which can be of interest for regular data plotting too (most of which not covered in this example):

  1. The use of projections to easily change between Cartesian, polar, spiral, etc. plots

    • d3.geo supports spherical projections; this example projects a sphere-bound spiral
  2. Traditional, but data-intensive plots can benefit from adaptive resampling and line simplification

  3. Time series plots benefit from zooming and panning (usually sufficient to do so along one dimension)

  4. Vector tiles can be useful for scalable “slippy plots”

  5. Mobile platforms benefit from pure SVG transforms (hardware accelerated, low energy use)

    • currently, projections recompute, but one can create chart plot projections using just linear transformations
  6. It’s fun to overlay time series on a sphere; also, there is a connection between the ‘day’ period and the sphere

    • this example has a graticule that divides time/space to 24 hours, and rotates various projections
  7. One projection (e.g. spiral) with different parametrization (e.g. rotation, scale) can support multiple chart idioms:

    • spiral (naturally)
    • circle/polar/radial (special case)
    • cartesian plot (special, limit case, can be approximated)
  8. It is possible to smoothly transition among these cases, preserving object constancy

  9. One can tween among geography views (choropleth, voronoi…) and abstract plot views (time, categorical variables etc.)

  10. Rotate or zoom / pan tweening to the bounding box of the area of interest in the visualization

Finally, it’s possibly a new application and definitely fun!