Skip to main content
100%

Loading and Parsing the CDC Dataset

✓ Published1🌍 Public
RRidhima Saxena
Last edited Oct 23, 2021
Created on Sep 26, 2021
Forked from Hello VizHub

This example displays a text summary of a CDC health dataset’s size and structure, showing the file’s kilobyte count, row count, and column count in large type. After loading the CSV from a GitHub gist via `d3.csv`, it uses `d3.csvFormat` on the resulting parsed data to calculate its byte length, then writes the formatted message into a `<pre>` element using standard DOM manipulation. The code relies on D3 v7’s promise-based CSV loading and formatting APIs.

AI-generated description

This visualization is a program that loads and parses CDC data in csv format. This is a dataset taken from the cdc describing categorical variables to determine the general health of an individual. The following is a link to the gist that provides this data

MIT Licensed

Similar vizzes