Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
BBenjamin
Last edited May 25, 2020
Created on May 25, 2020

This example demonstrates how to load and parse a CSV dataset using D3.js version 5. It shows the raw data being fetched via `d3.csv` and logged to the browser console, with comments illustrating alternative approaches using the Fetch API and `d3.csvParse`. The dataset contains survey responses about restaurant habits during the COVID-19 pandemic. The page itself displays no visualization, only a minimal HTML structure with a pre element intended for showing file statistics.

AI-generated description
MIT Licensed

Similar vizzes