Bubble Testing
This example visualizes character dialogue data as a force-directed bubble chart, where each circle represents a character and its size encodes total word count via `d3.scaleSqrt`. A toggle switch in the top-left corner filters the circles by sex, splitting them into two clusters or merging them back together by changing the force’s x-position. The code uses `d3.forceSimulation`, `d3.forceX`, `d3.forceCollide`, and `d3.csv` to load the data, with an animated SVG background circle loaded via `d3.xml`.
AI-generated descriptionforked from <a href='http://bl.ocks.org/ProQuestionAsker/'>ProQuestionAsker</a>'s block: <a href='http://bl.ocks.org/ProQuestionAsker/79d0228ae7161e349770e7d553cf4c94'>Bubble Testing</a>
forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/07365c0f28b53e44aac54c0023c77a7e'>Bubble Testing</a>
forked from <a href='http://bl.ocks.org/NicholasARossi/'>NicholasARossi</a>'s block: <a href='http://bl.ocks.org/NicholasARossi/3bd0f757a3806808359a0f21c81465dd'>Bubble Testing</a>