Skip to main content
100%

Knowledge of users internet safety

✓ Published1🌍 Public
NNicholas Smith
Last edited Sep 17, 2019
Created on Sep 2, 2019

This example displays the file size, row count, and column count of a CSV dataset on internet users’ knowledge of cybersecurity, loading the data with `d3.csv` and formatting the summary into a large-text `pre` element. It uses D3 v5’s `d3.csvFormat` to compute the data’s size in kilobytes, then updates the page’s text content directly. The dataset is sourced from a GitHub gist, and the code also includes commented-out alternatives using `fetch`, `async/await`, and `d3.csvParse` to demonstrate different parsing methods.

AI-generated description
MIT Licensed

Similar vizzes