Chicago Employee Reimbursements
This example loads a CSV file of Chicago employee reimbursements and reports its size in kilobytes, row count, and column count. It fetches the data from a GitHub gist using `d3.csv`, then formats the results with `d3.csvFormat` and `Math.round` to compute file size. The output is displayed as plain text in a large `<pre>` element. The code also includes commented alternatives using `fetch` with async/await and a promise chain, illustrating different ways to parse CSV data with `d3.csvParse`.
AI-generated descriptionThis information is derived from payments made to City of Chicago employees from January 1 of the previous calendar year to the present. Payments are initiated by City Departments and issued by the Department of Finance. Descriptions of each attribute follow: Voucher Number: This is a unique number assigned to each payment and is used for identifying that particular payment. Amount: This is the dollar amount of the payment made. Payment Date: This is the date payment was issued. Vendor Name: This is the name of the person or entity to which payment was made. Description: This is an optional field that indicates the reason payment was made.