Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CSV Import

Public visualization

CSV Import

0 stars1🌍 Public
AAllInclusive
Last edited Jan 10, 2020
Created on Jan 3, 2020

This example demonstrates how to import a CSV file using D3.js, displaying the row and column counts from the dataset. The data contains yearly numerical values from 1880 to 2015, with each year having two entries. Using `d3.csv`, the code loads the external data file and asynchronously processes it, then updates the text content of a large `<pre>` element with the resulting statistics. The visualization showcases D3 v5’s promise-based data loading API for reading tabular data files.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed