Skip to main content
100%

Capacity Constrained Point Distribution on Data (line chart)

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Oct 24, 2016
Created on Oct 24, 2016

A line chart of Apple stock prices (closing values from May 2012 to March 2011) is overlaid with colored circular sites that reposition via an iterative capacity-constrained point distribution algorithm. The algorithm, based on Michael Balzer’s work, swaps data points between site clusters to balance spatial occupancy. The visualization uses d3.v4 with d3.line, d3.axisBottom, d3.axisLeft, and d3.voronoi, rendering SVG circles and polygons with animated transitions via d3.interval.

AI-generated description

Capacity Constrained Point Distributions, an algorithm by Michael Balzer, Thomas Schlömer & Oliver Deussen (University of Konstanz, Germany, 2009).

(Not sure I have implemented it correctly, but it seems to work, albeit slowly.)

Idea found on n-e-r-v-o-u-s.

forked from <a href='http://bl.ocks.org/Fil/'>Fil</a>'s block: <a href='http://bl.ocks.org/Fil/3d9039c08e4d67621d73781fee2af890'>Capacity Constrained Point Distributions</a>

mit Licensed

Similar vizzes