Skip to main content
100%

Beeswarm

✓ Published0🌍 Public
Mmbostock
Last edited Jul 24, 2019
Created on Apr 29, 2016

This beeswarm plot displays the hierarchical structure of the Flare data set, encoding each node’s value as a logarithmically positioned point along the horizontal axis. The visualization employs a force-directed layout via `d3.forceSimulation`, using `d3.forceX` and `d3.forceY` to align points, while `d3.forceCollide` prevents overlap, creating a dense, non-overlapping distribution. To support hover interactions, it overlays a Voronoi diagram (constructed with `d3.voronoi`), rendering transparent cell paths that highlight the nearest circle in red on mouseover. The SVG output includes a logarithmic axis and tooltips showing each item’s name and value.

AI-generated description

A static beeswarm plot implemented using d3-force’s collision constraint. A Voronoi overlay improves hover interaction.

gpl-3.0 Licensed

Similar vizzes