Skip to main content
100%

Loading and Parsing stackoverflow CSV Data

✓ Published1🌍 Public
Llakalia@wpi.edu
Last edited Sep 24, 2020
Created on Sep 10, 2020

This example demonstrates how to load and parse a CSV file of Stack Overflow questions using D3 v5’s `d3.csv` method, displaying the resulting dataset’s size in kilobytes, row count, and column count in a large `<pre>` element. The data comes from a Kaggle dataset of 60k Stack Overflow questions with quality ratings, hosted as a GitHub gist. The code also includes alternative commented-out approaches using `fetch` with `async`/`await` and `d3.csvParse`, as well as a nested-promise “pyramid of doom” pattern, illustrating different ways to handle asynchronous data loading.

AI-generated description

A program that loads and parses some stackoverflow data from kaggle datasets.

stackoverflow Sep 2019 Data originally comes from 60k Stack Overflow Questions with Quality Rating at kaggle.com

MIT Licensed

Similar vizzes