Skip to main content
100%

2019 Index of Economic Freedom

✓ Published0🌍 Public
Hhotdoujiang
Last edited Sep 5, 2019
Created on Sep 5, 2019

This example displays summary statistics for the 2019 Index of Economic Freedom dataset, showing file size in kilobytes, row count, and column count. The code loads a CSV file from a GitHub gist using `d3.csv` and formats the parsed data with `d3.csvFormat` to calculate the size. It then updates the text content of an HTML `<pre>` element to present the metrics. The example demonstrates basic data loading and parsing with D3 v5, with commented alternatives using `fetch`, `async/await`, and `d3.csvParse`.

AI-generated description

A program that loads and parses some CSV data. The data is about 2019 Index of Economic Freedom. Gist link: https://gist.github.com/hotdoujiang/addd4f2369f3457e5a09a8b89942941b

MIT Licensed

Similar vizzes