Skip to main content
100%

bubble one more time

✓ Published0🌍 Public
GGerardoFurtado
Last edited Apr 28, 2019
Created on Apr 28, 2019

A force-directed bubble chart displays individual BMI measurements grouped by race and sex, with circle radius proportional to BMI value and color encoding racial categories. Using D3 v3 and SVG rendering, the visualization loads data from a CSV file and applies a cluster force layout with collision detection to arrange bubbles into distinct groups. The code implements custom `cluster` and `collide` functions alongside the `d3.layout.force` simulation, while a tooltip on mouseover reveals each bubble's race, BMI, and sex. Circles are colored via an ordinal scale and positioned through the force layout's tick handler.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/lydiawawa/'>lydiawawa</a>'s block: <a href='http://bl.ocks.org/lydiawawa/347e2b0aeed51d7dc56fde40b08e5fcd'>bubble one more time</a>

mit Licensed

Similar vizzes