🌍 Public
Viewing a saved revision (read-only)
71877f64852940fda6001f690edc07ef
Social Media Analysis Loading Data
This example demonstrates the initial data-loading stage of a social media analysis dashboard. It fetches a CSV file from GitHub, filters out responses from participants who did not consent or are under 18, and restructures the raw survey columns into consolidated fields using a custom `combine` function. The raw data is displayed as JSON in a `<pre>` element. The process uses the `fetch` API, `csvParse`, and `select` from D3 v7, with state management handled through a custom `setState` callback.
AI-generated descriptionLoading and modifying a CSV file, my MQP dataset.