🌍 Public
Viewing a saved revision (read-only)
dced0d8966b54ba78007159039db76c8
Mental health disorders Dataset Summary
This example displays a plain-text summary of a mental health disorders dataset, showing the dataset’s name, size in kilobytes, row count, and column count on the page. It loads the CSV file from a GitHub gist using `d3.csv`, then formats the data with `d3.csvFormat` to compute the file size and accesses the parsed rows and columns. The resulting message is rendered into a `<pre>` element, while the full parsed dataset is also printed to the browser console. The code relies on D3 v5 for data loading and formatting.
AI-generated descriptionThis program loads and parses the data: Mental Health Disorders Dataset.