Revised Data Table Summary: IMF
This example displays a terminal-style summary of an IMF dataset on fiscal variables as percentages of GDP. Using d3.csv to load the data, it shows the row and column counts, file size in kilobytes, and the first ten rows as pretty-printed JSON via `JSON.stringify`. Styled with black background and green monospace text, the code relies on d3’s `select`, `csv`, and `csvFormat` functions to fetch and measure the dataset.
AI-generated descriptionThe dataset consists of fiscal variables for a large panel of countries. Variables include: 1) Government Revenue 2) Government Expenditure 3) Government Primary Expenditure 4) Interest Paid on Public Dept 5) Government Primary Balance 6) Gross Public Dept 7) 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.