Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

why duration not working faster

Public visualization

why duration not working faster

0 stars2🌍 Public
Mmnalk
Last edited Oct 7, 2021
Created on Oct 6, 2021

This scatter plot visualizes global suicide rates from a CSV dataset, with interactive dropdown menus to switch the quantitative variables mapped to the x- and y-axes. The SVG circles animate their positions via `transition().duration(10)` with per-circle delays, while axis transitions update when the selection changes. Built with D3 v6, the chart uses `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` to render the axes and `dispatch` for menu change events. The duration is intentionally short, making circle movements appear near-instant.

AI-generated description

Add Interaction

Shows the Suicide_Rates.csv.

Comments

Sign in to join the discussion.

MIT Licensed