[withDropDown]World Economic Freedom Index
This example visualizes the World Economic Freedom Index, plotting countries by their Tax Burden and Government Integrity scores, with color encoding by region and point size by 2019 score. The vega-lite-api specification defines the circle marks, while d3.csv loads the data from a GitHub gist. React renders a dropdown menu for attribute selection, though the main visualization runs independently. The scatterplot reveals no clear correlation between tax burden and government integrity, but highlights regional clusters: European countries (red) show low tax burden with high integrity, while Sub-Saharan African countries (green) exhibit the opposite pattern, with North Korea as an outlier.
AI-generated descriptionA visualization constructed using the vega-lite-api. The viz shows the correlation between two important evaluation metrics 'Tax Burden' and 'Government Integrity'.
- We cannot seen a clear correlation between these two attributes. Tax burden is not significantly correlated with government integrity.
- However, most of the countries in the world have high tax burden as well as low government integrity, with a intenser field appearing on the right lower corner of the picture.
- Most European countries, the red circles on the picture, have a low tax burden and high government integrity, while most sub-saharah African countries, the green circles, have a high tax burden and low government integrity.
- An interesting outlier is located at the left lower corner, which is North Korea. The country has no tax burden but relatively low government integrity.
<br>Gist Link