Skip to main content
100%

Demographics of Social Media

✓ Published0🌍 Public
NNicholas Smith
Last edited Sep 24, 2019
Created on Sep 10, 2019

This example displays a simple text summary of the loaded social media dataset, reporting its size in kilobytes, row count, and column count. The visualization uses d3.csv to fetch and parse the CSV file from a GitHub gist, then formats the resulting data with d3.csvFormat to calculate the file size. The final message is rendered into a pre element using standard DOM textContent, with no charts or graphics. The code also includes commented-out alternatives using fetch, async/await, and a nested promise “pyramid of doom” to demonstrate different parsing workflows.

AI-generated description
MIT Licensed

Similar vizzes