Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Simple Scatter Plot (Global Prosperity Index)

Public visualization

Viewing a saved revision (read-only)

9def8ce175284376a0a245e3f61fcc20

Simple Scatter Plot (Global Prosperity Index)

0 stars0🌍 Public
Ppbruss@bu.edu
Last edited Sep 18, 2024
Created on Sep 17, 2024

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 description

A simple scatter plot with D3 showing the Penguins Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data