Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ImportingData

Public visualization

Viewing a saved revision (read-only)

9bdfe6155ea142da8f69f7ae67ce9b90

ImportingData

0 stars0🌍 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.