Viewing a saved revision (read-only)
451762912e4d44cea0c9f838a3d2fdd7
Simple Scatter Plot (Global Prosperity Index)
This scatter plot visualizes the relationship between Social Capital and Personal Freedom scores for countries in the 2023 Global Country Development & Prosperity Index. Each circle represents a country, positioned by its Social Capital score on the x-axis and Personal Freedom score on the y-axis, with the chart's background shaded gray to highlight the data points. The visualization uses D3's `scaleLinear`, `extent`, `axisLeft`, and `xAxis`/`yAxis` functions to map the data and render axes, while the `viz` function draws circles with radius and opacity set from the code.
AI-generated descriptionA simple scatter plot with D3 showing the 2023 Global Country Development & Prosperity Index.
x-axis - Social Capital Score (out of 100): Strength of personal relationships and civic engagement among the country's citizens.
y-axis - Personal Freedom (out of 100): Rights to speech, assembly, and individual autonomy.