Skip to main content
100%

ImportingData

✓ Published0🌍 Public
ZZach2826
Last edited Apr 28, 2022
Created on Apr 28, 2022

This example demonstrates how to load an external CSV dataset into a web page for inspection. It fetches animal bite records from a GitHub-hosted CSV file using D3’s `d3.csv` method, which returns a promise. Once the data resolves, the code logs the parsed array of objects to the browser’s console, showing the raw structure of the dataset without any visual rendering. The page relies on D3 v7 and plain JavaScript within an HTML file, with no additional frameworks or chart components involved.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes