Mutliple connected beeswarm plots
This example displays multiple connected beeswarm plots, one per outcome category, with each dot representing a family's return on investment. Clicking a dot highlights its connecting line across all plots and mutes the other points, revealing trends that might be missed with parallel coordinates. The chart uses d3.js version 4.1.0, with Voronoi diagrams to handle click events. The SVG rendering includes custom axes, grid lines, and a color scale, and the data is loaded from a CSV file.
AI-generated descriptionAn example of how to link multiple beeswarm plots, which could be used to instead of parallel plots if the distribution across each category is important. This implementation hides the connections until a unique series is chosen, but it could be set show the connections (with some opacity) if there are trends worth showing. Uses voronoi follow click events. Based on http://bl.ocks.org/mbostock/6526445e2b44303eebf21da3b6627320
forked from <a href='http://bl.ocks.org/tomshanley/'>tomshanley</a>'s block: <a href='http://bl.ocks.org/tomshanley/e1f2a325793bc9e76fbfaa58ea6a6d15'>Mutliple connected beeswarm plots </a>