Skip to main content
100%

[GTD]Loading and Parsing CSV Data

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

This example demonstrates a basic data-loading workflow for a CSV file containing 1985-2017 United States terrorism incident records. It displays the file size, row count, and column count for the dataset in large text. The code uses `d3.csv` to fetch and parse the remote CSV, then `d3.csvFormat` to calculate the data size in kilobytes. It also shows commented alternatives using the Fetch API with `d3.csvParse`.

AI-generated description

A program that loads and parses the data from 1985-2017 United States Terrorism Incidents (Gist link: https://gist.github.com/hotdoujiang/f7906445f30b6a25988dd43789fe5997).

MIT Licensed

Similar vizzes