Skip to main content
100%

LGBTQI Country Laws CSV Data

✓ Published0🌍 Public
PPeter Maida
Last edited Sep 23, 2020
Created on Sep 9, 2020

This example loads the LGBTQI Country Laws dataset from a GitHub gist and displays summary statistics about the CSV file in a large text block. It shows the file size in kilobytes, the number of data rows, and the number of columns. The code uses d3.csv to fetch and parse the remote CSV, then applies d3.csvFormat and array properties to compute these metrics. An alternative commented approach demonstrates the same task using the Fetch API, async/await, and d3.csvParse, highlighting different asynchronous patterns in D3 v5.

AI-generated description

A program that loads and parses some CSV data: LGBTQI Country Laws.

MIT Licensed

Similar vizzes