Skip to main content
100%

test

✓ Published0🌍 Public
SSchmittYannic
Last edited Aug 14, 2020
Created on Aug 14, 2020
Forked from first boxplot

This example shows a force-directed scatterplot of country data, where each circle represents a country and its horizontal position reflects a chosen numeric measure (like per-capita values). Buttons let the user switch between linear and log scales, animating the circles to their new positions. The visualization uses `d3.forceSimulation` with `forceX`, `forceY`, and `forceCollide` to position the circles, while `scaleLinear` and `scaleLog` define the axes. Circles are colored by continent, and hovering reveals a tooltip with details, plus a dashed vertical guide line. Rendering is SVG with transitions.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes