Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment2: 66 DOD

Public visualization

Viewing a saved revision (read-only)

c491b8700b9f4bed88c62f0af5d04780

Assignment2: 66 DOD

0 stars0🌍 Public
YYashashvi Singh
Last edited Mar 19, 2022
Created on Mar 4, 2022
Forked from HTML Starter

This example displays basic metadata about a CSV file fetched from a GitHub Gist, reporting the row count, column count, and file size in kilobytes within a large-text `<pre>` element. The page uses D3 v7’s `d3.csv()` method, which internally handles the network request via Fetch promises, to load and parse the remote dataset. The visualization simultaneously serves as a minimal demonstration of asynchronous data loading, contrasting this clean approach with commented-out alternatives that show older Promise-chaining patterns and the "Pyramid of Death" antipattern. No graphical chart is rendered; instead, the output is purely textual summary statistics.

AI-generated description

Demonstrates how to fetch data from a given url using Fetch,Promises,Async and Await.