Basic Scatter Plot
A scatter plot displays suicide rates across multiple countries from 1985 to 2004, with each dot colored by country to compare temporal trends. The visualization uses D3 v4 (d3.scaleLinear, d3.scaleOrdinal, d3.axisBottom, d3.axisLeft) and the d3-legend library to render colored circles in SVG. Data comes from Our World in Data’s suicide rates by country dataset, loaded via d3.csv, with axes labeled for year and suicide rate.
AI-generated descriptionBuilt with blockbuilder.org
The following scatter plot presents suicide rates in different countries across the world over time.
Data source https://ourworldindata.org/grapher/suicide-rates-by-country
This bar chart was forked from <a href=' '>curran</a >'s block: <a href='https://bl.ocks.org/curran/ecb09f2605c7fbbadf0eeb75da5f0a6b'>Stylized Scatter Plot with Color Legend</a >.
Data from Suicide by Lindsay Lee, Max Roser and Esteban Ortiz-Ospina