Datavis 2020 Episode 15 - Parsing CSV Data with D3
This example shows the size and structure of a CSV dataset by displaying its kilobyte size, row count, and column count as large text. It loads a remote CSV file containing CSS named colors using d3.csv, which parses the data asynchronously. The code also includes an alternative commented-out approach using the Fetch API with async/await and d3.csvParse to achieve the same result. The displayed values are generated by d3.csvFormat to measure the data length, plus data.columns to count columns.
AI-generated descriptionLeft off exactly here: https://youtu.be/oTUDt78qkiM
The gist file is here: https://gist.github.com/Richard-Burd
The given path is this:
<script src="https://gist.github.com/Richard-Burd/1554b4f94639c3a69f4c4b58f1ee4f3d.js"></script>The tutorial wants s.thing like this: https://gist.githubusercontent.com/Richard-Burd/1554b4f94639c3a69f4c4b58f1ee4f3d/raw/cssNamedColors.csv