Pseudo-Visualization
This D3 scatter-bubble plot visualizes the 2023 Global Country Development & Prosperity Index dataset, comparing Personal Freedom and Social Capital scores for a sample of five countries. Each circle’s x-axis position encodes social capital, y-axis position encodes personal freedom, while the radius (scaled via `scaleLinear`) represents overall average score and color assigns each country a unique category from `schemeCategory10`. The visualization uses `d3.select`, `scaleOrdinal`, and custom modules for axes and circle rendering, with fixed domains from 0 to 100 for both axes.
AI-generated descriptionA D3 scatter-bubble plot showing the Marks and Channels concept for the 2023 Global Country Development & Prosperity Index dataset.
Comparing two numerical attributes:
- Personal Freedom score (out of 100)
- Social Capital score (out of 100)
Marks:
- Points: Represents a country
Channels:
Position (via x and y coordinates in 2D space): x-axis position represents a country’s social capital score. y-axis position represents a country’s personal freedom score
Size (via radius of the circle): Represents the overall average score of each country. The larger the circle the higher the overall score.
Color: unique and represents every country in the dataset.