Skip to main content
100%

dex.js : Clustered Force

✓ Published0🌍 Public
PPatMartin
Last edited Aug 11, 2017
Created on Jan 14, 2017

This example uses dex.js and D3.js to display crime statistics as an interactive clustered force layout. The visualization groups nodes by crime type, using two custom forces—cluster and collide—to pull similar colors together while preventing overlapping. Data comes from crime2000.csv, interacting with forceSimulation to animate node positions. A separate legend highlights nodes on hover, while a configuration pane allows real-time adjustment of chart and legend settings.

AI-generated description

Clustered Force

This dex.js visual is based upon the clustered force layout which uses two custom forces 'cluster' and 'collide'.

  • Cluster : pushes like colored nodes toward one anohter.
  • Collide : pushes nodes away from each other when they near or collide with one another.

Here is the example on which the base visualization is based.

References

mit Licensed

Similar vizzes