Data Summary: IMF
This example displays a plain-text summary of an IMF dataset covering fiscal variables for many countries, showing row and column counts alongside the data size in kilobytes and the first ten rows as JSON. It uses d3.csv to load the remote CSV file, then d3.csvFormat to calculate the file size, and d3.select to append multiple pre elements to the body. The view uses a black background with green monospaced text, styled via CSS, to present the dataset overview without any charts or interaction.
AI-generated descriptionThe dataset consists of fiscal variables for a large panel of countries. Variables include:
- Government Revenue
- Government Expenditure
- Government Primary Expenditure
- Interest Paid on Public Dept
- Government Primary Balance
- Gross Public Dept
- GDP
Note: All variables are represented as percentage of GDP
This dataset is used in one of the International Monetary Fund's paper on Fiscal Prudence and Profligacy.