Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing stackoverflow CSV Data

Public visualization

Viewing a saved revision (read-only)

381c2d20702e4ce7b99990c7f6018f77

Loading and Parsing stackoverflow CSV Data

0 stars1🌍 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