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.
Focus attributes: SocialCapital + PersonelFreedom
Dataset Task: I want to understand what are the trends, if any, between "SocialCapital" and "PersonelFreedom" scores?
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.