Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading data - earthquakes.csv

Public visualization

Viewing a saved revision (read-only)

01a04caceb3f475f9db783f5960dd399

Loading data - earthquakes.csv

0 stars0🌍 Public
VVarun Eranki
Last edited Sep 18, 2020
Created on Sep 9, 2020

This example demonstrates how to load and parse a CSV file containing significant earthquake data from 1965 onward, sourced from Kaggle. It displays the dataset’s file size in kilobytes, row count, and column count in large text. The code uses `d3.csv` to fetch and parse the remote CSV URL, then computes the formatted output length with `d3.csvFormat`. It also includes commented alternatives using the Fetch API with `async`/`await` and `d3.csvParse`.

AI-generated description

A program that loads and parses Significant Earthquakes from 1965 dataset. This dataset contains information of earthquakes all over the world that took place from 1965. Dataset obtained from Kaggle.